It’s still someone’s right to make that joke, even if you don’t agree with it and even if it may be generally accepted as being in bad taste. This is what it means to live in a free democratic society. You do not have the right to not be offended.
Totally agree, everyone has the right to voice their opinion and/or take whatever course of action they choose, and nobody has the right to condemn or criticize them for it. That's one of the fundamental privileges every person has. It's partly the reason why this always plays in the back of my mind on a regular basis