> Other than an ideological argument of preferring taxes over outright bans, I feel like the effect is the same.
Taxes also provide revenue.
And they allow people to make their own choices.
If you think that having a foreign investor own a house causes Canadians to feel a collective 1 million CAD of pain per year, then it's only fair to give the foreign investor the chance to pay off the Canadian pain.
(Also gray areas around bans are annoying: you have to draw the line of eg who qualifies as a foreigner and what qualifies as owning somewhere. And there's bound to be some weird corner cases and loopholes that people with expensive lawyers can work around.
The reward for finding the loopholes is immense, because there's a discontinuity in the law.
If you have a tax, you have a finer grained instrument. So you can eg charge people in proportion to how much time they spent out of Canada. Instead of going 51% out: you are banned to 49%: everything is fine, the tax can vary gradually.)