The only reason Apple is blocking certain features in the EU is that they wanna get users to have a negative opinion about the DMA and other EU regulations so that they might eventually be softened up.
If sidecar on the iPad is compliant, so is iPhone mirroring.