My gut reaction when I read the article was that the sentence was too lenient, however, on further reflection I am not so sure. For me it depends on whether they have shown any genuine remorse for what they did (not just remorse for being caught) - so it will be interesting to read the judges comments.
Youth Rehabilitation Order can actually be more restrictive than a custodial sentence and can also include periods of restricted freedom. It is possible that the judge felt that the boys may be less likely to re-offend if they got the intensive support available through a YRO than if they were thrown into a young offenders institute. He must also think that their families will be on board with supporting the implementation of the order (e.g. any curfews and getting to required sessions etc)
His reference to peer pressure implies that he thinks they are easily suggestible and prisons and YOIs have never been well funded in terms of rehabilitation.
It will really depend on how many of the 15 possible YRO requirements are part of order: https://yjlc.uk/resources/legal-terms-z/youth-rehabilitation-order-yro
Youth Rehabilitation Orders (YROs) are community sentences given to children. These can be tailored to address the needs of the individual child, the risk of harm and the risk of re-offending. Each sentence includes different requirements. There is no minimum period for a YRO but they can last up to three years. YROs are covered by sections 173 – 199 and Schedule 6 of the Sentencing Act 2020. They cannot be imposed where the criteria for compulsory Referral Orders are met or where the sentence is fixed by law.
There are 15 different available YRO requirements:
• activity requirement (maximum 90 days)
• supervision requirement
• unpaid work (16 and 17-year olds only; 40-240 hours)
• programme requirement
• attendance centre requirement (maximum 12 hours for children aged 10–13; between 12 and 24 hours for 14–15-year olds; and between 12 and 36 hours for 16–17-year-olds)
• prohibited activity requirement
• curfew requirement (maximum 12 months and between two and 20 hours a day)
• exclusion requirement (maximum three months)
• residence requirement (16- and 17-year olds)
• local authority residence requirement (maximum six months, but not for any period after young person attains age of 18)
• mental health treatment requirement
• drug treatment requirement
• drug testing requirement (14-17-year olds only)
• intoxicating substance treatment requirement
• education requirement
• Electronic monitoring requirement (attached to curfew or GPS location monitoring)
What's actually even sadder is that under the YRO the boys will likely have access to a whole host of counselling and support opportunities and I suspect the girls are not getting anywhere near the same levels of support!