I'm not sure that's true, at least not in a healthy company. Still, if those are the only options and what they're told to do breaks the law, which option do you think they should choose?
European countries tend to have quite strong employee protections in law, so anyone who did end up quitting over something like this might get some compensation as well.
The company itself is likely to have the legal liability anyway, unless perhaps there was actually criminal conduct on the part of its staff. However, surely those managers should expect at a minimum to be disciplined. Depending on the severity of the mistake, the seniority of each manager and the level of awareness of the relevant issues that they should have had, something like this might even constitute gross misconduct and be a firing matter.