I'm not sure what country this happened in, but under the Safe and Secure Schools Act (which by the way I personally am responsible for), any students found to be engaging in such homophobic acts would be at the bare minimum issued a 5 school day suspension. If the students made such vows to repeat these actions, or repeated them again, they would be immediately expelled and charged with trespassing should they return to school afterwords. Not to mention that under the same act, the students who engaged in such homophobic acts would be slapped with a criminal charge for hate crimes, which is by the way considered a felony and NOT a measly little misdemeanour.
Is it possible that maybe other countries and regions could learn from this?