It sounds like the first franchise collapsed owing money. I expect the company had created strong incentives for employees to claw that back. Someone has followed those incentives against the interest of the corporation. This happens all the time although in this case they break the law.
Eventually there's a lawsuit and a lot more people get involved including people without any incentive to do illegal things. However those involved originally present some varnished version of the truth (to avoid getting fired!) the company trusts this version of events. They decide to fight the case in court.
Then they lose the case. Those who decided to fight it realise they made a bad choice and they now look bad too. It's at this point that the weirdest thing happens. Why do they choose to close the store instead of paying up? My guess is that it became personal for someone.