So in insolvency that is deemed bankruptcy the assets of the company are traditionally used to deal with as much of the liabilities of the company as they can in rank order of those liabilities. You know secured debt ranks ahead of unsecured etc.
This guy's claim on the assets of the company to get him out of that hell, for me, rank number 1, and alone. Next comes the wages due all employees not deprived of their liberty. And that's the usual way it is done too.
Then if a company has behaved abysmally by choosing to dump their employee in hell then the law needs to be involved on those making that decision. Absolutely. There needs to be consequences for making that /choice/. As was clearly made in this instance assuming the accuracy of the report.
If the company did well instead of go bankrupt who is cashing the biggest check? That is who is responsible. Work your way down that list until you find someone, everyone you can't find is a fugitive and has their assets seized.
And if the company went bankrupt or the CEO suddenly died/disappeared? Then what? There could be any number of reasons why a company might be unable to do what they need to do. The guy is still stuck there then, because it all rests on the shipping company rather than the country whose government is holding him there.