Not an isolated incident it seems; just days after the incident described in the OP, several students, including Isobelle Wherle, aged 15, were held in isolation for wearing the British flag to a school culture day, while other students wearing the flags of other countries were allowed to do so:
https://www.dailystar.co.uk/news/uk-news/school-puts-30-kids-isolation-35607710







