They can break any labour agreement they want in their Country but going against EU regulations is another mater.
It would appear to be debatable whether Spain has had a NSA doing its job for some time - which is also going against European Regulations.