I realize you've resolved this issue, but I'm going to give my $00.02 anyways:
- If he is encouraging illegal behavior, bring this up to whichever review board you need to, and additionally, the NASW. We have a code of ethics we must adhere to as social workers, even professors.
- If he is just making you feel uncomfortable, deal with it. Lots of learning happens when you're put in uncomfortable situations (i.e., exposed to contraversal opinions). Speak your mind, if you don't like his response, respond in turn. You're an adult, you're aloud to voice your opinion, as long as it's constructive and not derailing the class (that's selfish). I've got several professors just like that, I go toe to toe with them anytime a situation presents itself, and because of this, our class has some pretty great discussions. If everyone just bit their lip, or blindly agreed with them (I know just the time of students you're talking about), you're learning nothing at worst or creating clones of the professor at best. Either way everybody loses.
Social workers have to play in the gray areas all the time, mix it up!