My understanding is that kids may use a motorcycle if the is no other forms of transport available.
Of course, this permission is abused to the extent, kids in Thailand ride all the time....and never have an issue.
There was a promotion some time back whereby the cops distributed helmets to kids.....of course, they were never used!