No. But that has never stopped a layoff.
It would be better to do this the way the FDIC treats failed banks: sell off obligations of the company, including buildings, equipment, and employees, to competitors. For a straightforward business such as a train logistics company with direct competitors who do effectively the same business, this seems relatively simple.