I was caught speeding.
If you're anti- something in a way that's different from the norm then you'll be in violation of the law! The laws that the "not" different people made. Either way, those people will give you a hard time for your anti-stance against the thing they like, and say it's a transgression.
This is a jukugo word that uses the on'yomi readings of the kanji. You haven't learned this reading for 違 yet, so here's a mnemonic to help you:
If you find yourself in violation of the law just pull out your pet eagle (い). Eagles are so majestic, they'll forget all about your transgression and let you go. If you're going to go be anti-something make sure you bring that eagle. People seem to care more about animals than other people like that.