In theory there's a third position, market first. But in practice housing markets are regulated (or not) to optimise for providing housing or profit. People who claim to care about "free markets" as an end in themselves are using this as an excuse to optimise markets for profit.
It's particularly relevant to housing that according to what Adam Smith actually wrote, what "free markets" were meant to be free of was rents, not regulations.
(2/2)