Simple: you only get to use the software timer/switch if the hardware switch is mapped to orientation lock, which is what I was getting at in the first place.
(I have a problem, in that I assume everyone thinks things out two steps ahead, because that's how it works in my family. This is why bystanders sometimes wonder if we all share a gene for schizophrenia. Our conversations seem disconnected.)
This would actually create an interesting problem. If you have a hardware switch and a software timer, then the switch is going to be wrong sometimes.