Judge 'wrong' to spare boy rapists from custody, court told

Three teenage boys convicted of rape should have been detained, the Court of Appeal hears.