In that situation one of the switches should short the mains voltage and blow the fuse when the door is opened.