"It is compulsory for you to attend school offline"
If they say so, ask them to give it in writing.
Written Evidence, is viewed as the best form of evidence, so prioritise collecting emails, notices, letters if necessary, which will hold the institution responsible.
3/n