In the eyes of French law, it does matter, their freedom of speech is limited (UK is even worse in this regard).
I do however agree that freedom of speech and communication should be upheld to the highest possible degree, even when some may find it offensive or consider it hateful.
It is, after all, the foundation of western democracy and humanitarian values.
What an utter disgrace. Such barbaric behaviour has no place in a civilized society.