I think most of us have done it once and then take more care when switching off.
If I’m reading the diagram correctly, you might bypass that section of the main switch by joining the Blue/Red and Blue wires.
Alternatively, you could add a relay to isolate the tail & parking light when the ignition circuit isn’t live.