Suppose you and I are close friends. We've known each other for years. We understand each others' intents pretty well. Last year I totally forgot your birthday - and you didn't get mad, because you know I was busy with a family emergency and my intent wasn't to make you feel like crap. Similarly, sometimes you make extremely tasteless jokes: jokes about murder or maybe even racial issues. I laugh at them because I have a similar sense of humor and I understand your intent very well: I know you're a caring human being and they're just jokes, for crying out loud.
And that's how friendships are supposed to work. We understand each other and don't get bothered over the small stuff.
But how well does that work with people that don't know each other well? A heck of a lot less well. You can't possibly know everybody's intents. The guy on the bus? The guy handing out leaflets? The loudmouth in your university lecture hall?
I used to joke about a lot of things that I don't joke about any more, at least in public. In my mind when I made those jokes, I was actually parodying the kinds of people who earnestly believed really shitty things. But to people that didn't know me well, I was at times indistinguishable from the actual bad guys. I felt I had a choice: be more selective with my humor, or hide behind the old "but my intentions were good!!!!!" excuse.