There is no forcing, Apple can choose to not comply and leave the market entirely. Japan's market regulations supersede Apple's arbitrary App Store limitations.
Apple can also choose to dissolve or abandon product, rather than be forced to do something it doesn't want to do. (Like 1990's law forcing ICE car manufacturers to sell more EVs, so they destroyed the EV car.)