228.This section applies where the sheriff confirms a decision of the Children’s Hearing to vary or continue a compulsory supervision order and is satisfied that the application for appeal was frivolous or vexatious. The sheriff may make an order which prevents the applicant from making further applications for appeal, unless the leave of the sheriff is obtained, for a period of 12 months beginning on the day the order is made.