It wasn't just "permitted." The technology under discussion here was funded by the US the DOE and Intel and deliberately transferred by the US to ASML (and not, for example, a Japanese company or Samsung) as part of a soft power exercise.
It's crazy that Europeans keep citing ASML as a strong example of European innovation.