The teacher here is wrong. There should have been, at least, an alternative assignment available.
That certainly made me think... For instance, at a very liberal college, wearing an "I CHOOSE LIFE" sign might have exposed the students to physical harm from the infanticide crowd.