The impact on the market is precisely the concern. I’ve not seen any studies that show how taxing market participants differently impacts the supply in real estate. So I don’t have strong convictions one way or the other. But you can craft a narrative that foreign buyers are higher margin customers so drive builders to create at higher then their participation rate.
But more generally if you want more of something, generally I’m suspicious of efforts that make that thing more expensive.
Having what in practice is probably 1 in ~5,000 fewer customers has negligible impact on a housing market. That’s assuming many foreigners who would be buying a 3rd home will probably substitute longer term rentals but it’s not zero and from the perspective of customers any movement is positive here.