Just because something is legal doesn't make it right, and just because something is illegal doesn't make it wrong.
For example, abortion is wrong, yet it's legal, yet (in the state of Colorado, at least), it is illegal to print passages from the Bible that condemn, say, homosexuality, yet such...