It was bad taste, and stupid, and not very funny, but it is mild compared to some of the things that have been aired on the BBC.
I think if it had been funnier, it might have caused a bit of a stir but they would have got away with it, but they both mistook crude vulgarity for humour.
Others have got away with far worse, if it is done in a way that makes people splutter with laughter.