That judge should clearly have been removed from the bench, instead of just being asked to attend some sort of behavior class with pay. The usual slap on the wrist with a feather for the privileged.
He clearly lacks a sense of scope, and limitation to his powers. And apparently has extreme views on punishment for nothing burgers that aren’t even illegal. He also has a complete lack of empathy and understanding how strongly punishment can influence a person, especially a young person, and especially a person being punished harshly despite doing no harm.
He is completely unfit to be a judge.
I hope the girl wins her lawsuit, and the judge will receive some true punishment through that.