Great stuff, I had the trim off my door on Sunday to adjust the hinge and snapped a shot of the same plug for you. The switch appears to be in the latch. Can,t see that disconnecting it would be a prob, the little door switch is going to tell you if either are open.
To little to late........