You are looking at the wrong culprit. If there is a piece of undeveloped land, and a foreigner builds a house completely uninhabited, the housing stock in the market has a delta of 0. If there is an owner that sells their house to a foreigner and buys a new one, the housing stock is till the same. They dont affect supply in abstract, they affect supply if there are significant zoning restrictions that do create artifical scarcity.
We're not talking about supply, we're talking about price. The OP said, "and the extra demand increases the value of properties the locals own." Increasingly unaffordable housing is exactly the problem.
It's a vote-winner though, and property is most people's biggest investment asset. It's a Ponzi scheme, but it's hard to avoid.
My main point was addressed to the economic argument being put forward, however; that it wasn't specific to "foreigners". "Foreigners" as a culprit are a red herring.
Right, that's why I said "speculation" and not "foreign ownership" in my reply. Holding periods for ownership, non-residential use must be rented out, etc.
Which is exactly the problem. Housing is for living, not speculating. Basic human needs should probably not be subject to such speculation.
That said, regulations in building new housing can also exacerbate this problem. At the very least, density should be increasing at approximately the rate of population growth in a region, or you will obviously have a growing sprawl problem.