The data says excessive immigration is what is increasing demand and driving up prices - not foreign ownership although foreign ownership exacerbates the problem. More importantly, it is easy to get around the foreign ownership restrictions with a Canadian listed corporation. If politicians really wanted real estate prices to stabilize they would cut immigration to levels that keeps Canada's population stable at about 35,000,000. This is the only way to reduce the demand driving prices.
I would like to hear exactly how you propose to stabilize the population at 35,000,000. Will you force people to have babies? Order them not to grow old and die? Or both.