I’d imagine there are laws preventing that kind of behaviour. If a court is ordering you to pay something and you then hide all your assets to avoid paying then that’s pretty serious.
Would you be happy if a chemical plant donated its facility to a new company “Chemical Plant 2” in order to avoid paying compensation for chemical spills?