The bare minimum would look something like https://employment-social-affairs.ec.europa.eu/policies-and-activities/rights-work/labour-law/employee-involvement/collective-redundancies_en
Is it childish to think that companies that are profitable should not be able to get rid of their employees for no reason?
The point is to absolve the human behind the arrest from responsibility. “The system” gets to do the decision making, then the human can’t be responsible for making a mistake and arresting the wrong person.