It's part of the reason they don't want phones in schools.
All they have to do is enforce harassment. It's like trying to put a toy in timeout because your kid misused it. The kid learns nothing and moves on to the next toy. Simply put them into detention. The parents will fix that shit quick.