What on earth could possibly have been the academic justification for this “assignment”? The whole exercise is reminiscent of Feudal Japan forcing suspected Christians to trample the fumi-e.
And any prof who kicks his student out of class because he or she intends to complain to the administration is nothing but a punk. Deal with it like the professional you’re supposed to be.
The professor, as a member of the professionally offended class, is offended that anyone other than himself would have the audacity to complain.