Communities are allowed to decide how they are composed.
See: https://www.sfchronicle.com/local/heatherknight/article/S-F-...
Been to Japan? France? Pretty nice places.
Not saying it's great; Japanese wages are too low and their landlords are abusive (moving is expensive, you have to pay a lot of "key money", and they're free to discriminate against foreigners). But the housing crisis is an Anglo problem - it's bad in the US/UK/Canada/Australia.
Not sure about France specifically, I was just saying Paris is a nice city.
Sometimes we seem to like the idea of democracy, sometimes we don't. That's the tension here.