My argument is that CSS doesn't achieve the same result; it forces one particular mode on you instead of allowing a choice.
With the css solution it’s doable on a site that has no javascript.
JS should not be involved, and we don't need every site to have its own version of the switch, located in a different place and looking different.