I think that this may be one of those rules that has been repeated often enough it is taken for granted that it is true
It may be a myth but it is a very tightly enforced myth in my area.
You will not get by an elevator inspection without the disconect right at the door. I have had to relocate light switches in order to get by this issue.
Maybe I am just a sucker, but we get paid for things like this.