ASML definitely wanted to sell to China to increase their quarterly revenues but couldn't because the US owns the IP for the EUV tech and ASML's EUV light sources are made by CYMER in the US, which ASML bought but they're still under US trade restrictions.
So no, ASML and the NL government have to dance according to the moves dictated by the US gov as they own the keys to EUV tech, not ASML/NL.
But as we saw with the Evo Morales grounding incident https://en.wikipedia.org/wiki/Evo_Morales_grounding_incident there's still a certain amount of jumping.
Also remember that a lot (all?) of the circuit design software is US-based, so the supply chain could be squeezed from that direction as well.