Well … it’s even true in Germany, not libel but you can be convicted of „Volksverhetzung“ even if you state something that is true, like that a certain person of a religion would be today be called a pedophile.
It’s literally stated in the religions holy book, but if the statement is ment to push racism it can be still a crime.