The switch can actually be turned off. The setting for that is very hidden.
Go to: Settings - Sound and vibration - Do Not Disturb - Schedules. There you can turn off the switch. Tap the switch itself, not the text. Then the physical switch should be disabled completely.