Code is law went out the door with the ethereum hardfork after the dao hack.
This makes no sense. I agree with you that code is not law, but the incident you're talking about wasn't law but community-driven consensus.
(realizing that im so old. if this is what i totally forgot, what else of this magnitude of signifince i do not remember anymore. that i was part of/ was involved/ it affected me.)