The BBC deleted an episode of Fawlty Towers which mocked an old
officer's racist views.
John Cleese: If you put nonsense words into the
mouth of someone you want to make fun of, you’re not broadcasting their
views, you’re making fun of them. The major was an old fossil left over
from decades before. We were not supporting his views, we were making
fun of them. If they can’t see that – if people are too stupid to see
that – what can one say?
I read that this convinced the BBC to retract the deletion.
I think that that episode is the only one I ever saw. I felt it
painted the principal irony ("Don't talk about the war") too thick,
so I did not like it.
There are many forms of irony. Nowadays, right-wing bigots slather some
irony over their real bigotry to pretend they don't mean it.
But Fawlty Towers was many decades ago, and people did not do that then.