The XT90S has two bands as you can see inside
So it connects the resistor only momentarily then shorts it out so it’s no longer in the circuit. The resistor is only in the circuit for a number of milliseconds while you physically push the plug in.
There isn’t an easy way to do that with a toggle switch, and I’ve only seen one custom slide switch that had a similar effect and heard nothing more about it since then.