What he did was wrong - of course it was - and he deserves to be punished.
The Sheriff doesn't however appear to think the boy - and he was and is a boy - was a paedophile which is significant. He has found him guilty of a sexual assault on a child which is also significant. The boy didn't seek out victims to abuse, he didn't escalate his behaviour, he doesn't appear to be a threat to others. Neither family seemed to consider it to be something that couldn't be dealt with by counselling and parental support. Those factors appear to have influenced the Sheriff. He's not known for being a maverick Sheriff and has had no difficulty in passing sentence against others for domestic violence and assault so I doubt His Lordship suddenly took leave of his senses.
The fact that the Crown Office dropped their appeal also suggests that they found the Sheriff's decision to be supported by case law and sentencing guidelines. There is a sliding scale of assault which is reflective when it of how we pass punishment and how we consider rehabilitation. If we don't like it, we should petition to change that instead of the mass knee jerk reaction that is happening right now online.
Don't get me wrong, the only victim in this is the young girl but I have no doubt that this boy is being punished. He has been accused of rape and being a paedophile, he's been named and shamed online, he's had death threats and his name will be searchable long after social media has moved on.
Sometimes, as a society, the right thing to do is to help the bad guys turn into good guys. It doesn't diminish that little girl in anyway if our justice system finds a different way to ensure that the boy who did this never causes that kind of harm again.
The SOR is a blunt tool and it's perhaps time that we reconsidered the mandatory nature of it. On another level, perhaps it's also time to rethink the mantra of sex offenders as monsters. Because they're not and by believing in the bogeyman, we allow seemingly nice, normal men to hide in the open. By treating victims of sexual assault as being scarred beyond belief and traumatised for life, is, in my opinion, sexist and stems from the view of women as fragile, as possessions, as being no longer 'pure'.