If a student did the same thing in the class, the student would be suspended, perhaps even expelled. A lesson about free speech turned in to a lesson about poor judgment. Free speech is not immune from harsh consequences.
Makes me think of the Pink Floyd song.
We don't need your education.
We don't need your Thought Control.
No Dark Sarcasm in the Classroom.
Teacher's Leave them Kids ALONE.