The only solution would be similar to what China exercised. The EU passes an order telling all EU entities to not comply with US sanctions or face legal problems.
There are strong calls from the EP now for the EC to prepare the blocking statute:
https://www.politico.eu/article/block-us-sanctions-on-the-ic...
https://finance.ec.europa.eu/eu-and-world/open-strategic-aut...