I would consider zoning codes law. To argue otherwise is pedantic.
Sorry, just because you want to live somewhere, doesn’t entitle you to enough units built there for you to afford it.
I’d love to live in Atherton. But I can’t afford it. I don’t try and get more units built there when the community clearly doesn’t want that, so I choose somewhere else.