imagine the whole class going 'You have no right to do this! you are a terrible teacher, and this is unacceptable, I am going to inform your supervisor'
Imagine that teacher then, trying to explain it was all a setup and he was to give a lecture about it ... afterward.