Rotor does not fit between pads after replacing the pads I was having rubbing noises and after taking out the pads I so they were completly worn out.

I have shimano r7070 calipers so according to their specs I found in a local shop the L04C as they did not have the default  L02A.

I did the following to replace them:


Extract the old ones
Clean with a spray designed for cleaning brakes.
Push the pistons with a lever for the tyres and later with a screwdriver.
Put the wheel.
Release caliper, press the brake lever, and tight it to recenter.


Well, I've done that multiple times and the disc is still pinched on both sides when I put the wheel on.
 All components are original from shimano and less than a year old.

Any Idea on what can I do?
Maybe the entire system was bled with the pistons not in its full retraction. So when you push in the pistons, you're actually just applying pressure to both the master cylinder and the diaphragm of the open system structure. (and compressing the air inside, if there are any)

Try opening the bleed port and screw in the oil funnel before pushing the pistons in. While you're at it, try to squeeze out any air that could be in the system. Then carefully plug the funnel, unscrew it from the port, and close the port.

Try squeezing the brake lever a bit but not too much and see if you don't have any sticky pistons. If they're stuck, you can follow this video: