Breaking EU directives isn’t merely morally questionable. This is as close to law as we’ll see on EU level. States implement laws to enforce directives.
Nitpick: you can't break an EU directive. Directives are frameworks of laws that the states have to implement. Here it's the French implementation of the EU directive what was violated.