Just before he enters class, he whispers a wish
"I wish that for one week everyone in this school, would express and play out their sexual fetishes/fantasies, even if it meant using magic to make it real, But at the end of the week, everything will return to normal and nobody will be harmed because of it."
He continued walking into class, as the flash went off, inside the classroom, shocked him.