Since the camera is powered off and the battery is removed, the electronically controlled pop-up flash is non-operational. Thus, continuing the repair a bit of a hassle as getting to the two screws is impossible.
This means you would have to pop-up the flash before starting the entire diassembly process! This is rather silly, because the pop-up flash gets in the way when disassembling the rest of the camera and it is a delicate assembly.
I discovered an easy solution. Take a piece of blue tape, fold it over and shove it between the flash assembly and the shell of the camera.