What company is insolvent in this case?
Usually these decision comes when a company closes to not pay the workers all their benefits left, and the judge then goes back to all the other companies that the shareholder is on, and is part of the "economic group". In Brazil legislation, what matter is if the judge decides that the companies are part of the same "economic group".