288. Supervision or protection of minors.

A minor may be deprived of his liberty1 if his detention is lawfully2 ordered for the purpose of educational supervision or is for the purpose of bringing him before the competent legal authority3. The meaning of 'educational supervision' under the first limb is not confined to classroom teaching but may include many aspects of the exercise by the state of parental functions for the benefit and protection of the child