I remember a few years ago there was a furore over a comedian telling an joke which offended a load of people.
I can't remember what the joke was, or who told it, but Rowan Atkinson was interviewed and quite vehemently defended their position saying in comedy nothing should ever be off limits. If someone finds something funny, then it's funny. The bottom line was a joke is a joke and just because it causes offence to a few, or it's a hot topic at the time, doesn't necessarily reflect the views and opinions of the person telling the joke.
That said I haven't seen the programme the OP refers to, so maybe it is ill advised or maybe it's a good show. I'll withold judgement for now.
I've got a badge, but I'm not a badger....