Court orders can, and are, routinely enforced in other countries. The interested agent goes to country B courts with a decision from country A and asks for a local enforcement order. When granted, this has the same power as a court order from country B. Even if UBS decides to abandon all assets in France and never do business there again, agents of the French state can get the fine from UBS assets in other countries.