Like the RSF press freedom index, which ranks multiple countries in the top 10, where you can be jailed for expressing your earnest belief that something didn't happen?
We don't see this as censorship, it's a safeguard against an ideology that destroyed democracy.
The decisive factor is whether the joke attacks the ideology or reinforces it. So if a comedian in Berlin says "the Holocaust didn’t happen" as a punchline, and it comes across as actual denial or trivialization, that can be illegal.
I can say that the moon is made of cheese, and if you punish me for doing so, you’re engaging in censorship, despite my claim being untrue.