That's the way door contact switches work!i dont know if we are looking at this too deep , i only asked as i was given a switch to try to fit and it was a simple 1 amp 230v door contact switch.
The machine has a stop start old metal type beside the door so to try it i diverted the stop wires through the switch....it worked fine but was the wrong way round, you had to have the door open to work the machine....the green start had to be pressed manually to restart the machine , so if it basically did the job although its hard to get to the contactor it can not be too much a load..and all connections are covered...
What you need is a door interlock switch from one of the global electrical switchgear manufacturers such as Schneider, Rockwell, Siemens, etc. You will need to know the coil rating of the motor starter in order to get a suitably rated switch - "1A 230V" is not sufficient unless you know the utilisation category of the switch and the coil rating of the starter.
If you don't understand anything I've said then you really need professional advice, since this is a machine safety issue.