@Phantoxic
I mean, the other option is to punish them, and you know what that creates? Fear.
This system of a democratically voted President can't be ruled by fear, because if it was, there would be rebellion, escape, and traitors at the first sign of something happening to
them. Sure if it's a monarchy, where everyone's desensitized to this already, it would work, since they don't have the power to react, or they think they don't.
But give a bunch of people the power to do something, even if just a very little, they'll start to realize they want freedom, and they won't take well to living under fear.
Your assumed proposed solution was to punish them, but in this system, it would be impossible to punish them without the problems you mentioned, since even if everyone agrees, everyone knows "This is what happens if we act out... This doesn't seem like a fun system to live in." But by a system which encourages connection and redemption, you can still take out the problem without having to punish someone for it.
The people who started this sht, they're not gonna do it again, you saw what happened, and the other people knew what happened to them, and it wasn't even by their own leader! They aren't going to do anything, they know what will happen. All of the problems you bring up don't even apply because it works off the logic people will have an incentive to commit crime such as this even knowing what will happen.
Of course, crimes inside the school will be punished, everyone knows that, but the difference is that everyone already understands what happens then, they live at that school after all, so you don't change much by taking care of some people who did things people don't know the response for.
Everyone knows what happens if you murder a man, If you decide to take care and treat someone who sold state secrets, no one is going to start feeling like they can murder people.