Young offender punishment regime is unlawful