KNOW YOUR AUDIENCE
Perhaps you assume that he is capable of making distinctions, or gives a damn.
KNOW YOUR AUDIENCE AND PERFORMERS
If you're hiring Eminem to do a show, you KNOW that there will be offensive content. That's what the guy built his career on; I still remember the deer-in-the-headlights look he had when interviewed on live TV for some awards show, as he was being adulated by the very people he spent much time denigrating & insulting in his music up to that point. He's famous and popular BECAUSE (among other talents) he's prolifically profane.
If your audience will be a sober/somber/respectful group, you DON'T put on a performer whose every 4th word is profanity.