Not just photoresist, Japan is an integral supplier of many components, chemicals, precision tools that go in all sorts of stuff. Even if everything could be replaced, it will have a big impact at least temporarily on China's own supply chain.
I can bet this will be implemented selectively against Japan's MIC only, not as others are saying to deindustrialize Japan or the like.
Name one component that cannot be replaced.