Quite a lot of companies function better when managers are poorly paid, obedient and basically apply a replicable system with minimal autonomy. It would suck to work there but structures like that absolutely exist & are very profitable.
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.