This is my background - education and making the ultimate decisions about sanctions.
Any learner filming a lesson without authorisation would face a sanction. In my own case it would be a temporary suspension during which their would be an investigation and a meeting with at least one parent/ guardian. I would hope the learner would be back in school within three days. Such a suspension is not a punishment, it is what is required to keep other learners safe while an investigation is carried out, and policies are restated to the learner and a parent of that learner.
Posting footage like this to social media is an elevation. There would be an investigation, an interview with parents, a case meeting, and depending on the content possible interaction with police. There are serious safeguarding issues around this area. It isn't just wokery.
Have you any idea of the implications for the staff of a school where a learner is identified on social media where for safeguarding there is an exclusion order in place between a parent and a vulnerable young person.
Frankly I'm surprised you don't know better.
Yes, I would expect lots of hand wringing and meetings, but it does rather look like the lad - as he says - was suspended for a short time, allowed back, then cattled when the publicity had subsided.
You won't like it, but I've seen many times that the organisation's primary focus in these types of situations is preserving their reputation, and by extension their publicly funded jobs and pensions.
If a satisfactory outcome for all parties can be engineered as well, that's a bonus, but no more than that.
By the way, I have some professional experience of identifying children subject to various court orders.
Newspapers have cocked up a few times over the years, particularly when taking group pictures.
We got away with the last one because the order had been made in a closed family court, which meant we couldn't be expected to comply with an order we could not know about.
Routinely, I believe the parent or guardian of the child will tick the no publicity box at the start of each term.
My suspicion in that case is the the parent did tick the box, but the school cocked up.
When the system does work it's not without its wrinkles.
I've seen little Johnny burst into tears and have a tantrum when he's told he can't be on the picture.