The teacher is dumb for telling the students about the dean's decision. The dean is dumb for still employing the teacher.
The teacher felt the question needed to be answered by his boss. He got an answer form him and ignored it. That is grounds for dismissal. Period. End of story.