Part of the solution is teaching children not to take this crap.
Even at that age, I was confrontational especially when I felt that the adults were treating me unfairly. Just teach your kids to just stop this childishness and tell the adults just punish him already, if that’s what they want to do, and “quit yapping, and I reserve all my legal rights.”
Then the real adults have to hold these people legally accountable.
I’m not a litigious guy, but the only thing these guys will understand is legal expenses, judgments, bankruptcy, etc.
That is exactly what I taught my daughter when she was in public school. Clam up and tell them to call me....immediately. Let momma take care of it.....and boy did I a few times. A couple of them came close to wetting their pants.