just curious, but does the same rule apply if you are forced to stay out of school hours? As in, the school was closed for maintenance, yet you were forced to come in without a proper reason?
I'm pretty sure that is illegal.
I always forget if you're from Northern Ireland or the Republic. s:
In the UK it's not legal if they don't have permission from the higher-ups in the school.
There also has to be more than one teacher there at any one time, and there also has to be a legally qualified First Aider too.
They also can not force you to go to the school. Outside of school you are free to whatever you wish to do.
You're legally required to turn up to school during school hours if you're in compulsory education. Nothing outside of that is legally enforced, and to force someone to do so is illegal.