Switches are very simple devices. If the switch mechanism is not enclosed, it is easy to look one and see that the input leads are separated by the output leads by an air gap. Of course, a sufficiently motivated attacker could still work around this (by eg, by finding a side channel, or having the plastic of the switch be somewhat conductive). However, these attacks are far more difficult, and far less plausibly deniable.