How can this possibly be enforced? This is Bowdlerization of online debate. (removing material that is considered improper or offensive from (a text or account), especially with the result that the text becomes weaker or less effective).
Hate speech will just be pushed underground, it doesn't solve anything or make anything go away but it does reinforce 'the establishment view', something the French ENA currently have a tight control on.