When you say “it also required to be pushed in”.
I assume you mean the hydraulic brake piston in the calliper, in order to create enough space, to house the new thicker brake pads ?.
What about this alternative method that may work, tell me what you think of this

.
First release the handbrake, disconnected the negative terminal on the 12 volt battery.
Disconnect the handbrake motor(s) you could then remove the two torque bolts that holds the motors to the calliper body, stand them to one side.
( The motor is now already in the reversed position so no need to use a 12 volt battery )
Push back the hydraulic pistons and replace the disc and the pads.
Pump up the foot brake until solid, then refit the motors and reconnect the both wiring looms.
Reconnect the battery and the car should now apply the handbrake as normal.
The car should have no knowledge of the process, because the motor positions have not changed until power is resorted

.