My understanding (not legal advice!) is rules that preclude development at a given density would not be enforceable especially if they deviate from e.g. the International Builders Code, unless you could make some case that Davis was uniquely susceptible to fires, which it isn’t.
Like Los Altos Hills could mandate that new apartments be covered in real gold, but they don’t do that.