The French took a much better approach to foreign investment. So many properties in Paris became AirBnB or absentee-landlord type properties that the Paris government added a new requirement: in certain arrondissements, _you must live in the property_ you purchase. That corrected a number of market issues.
There are some efforts to do this in certain provinces in Canada, but they probably should have been looked at years ago, it's a little too little, too late.
I will be honest, I don't advise any of my clients to buy condos for the reason that they have no control of the overarching building - and expenses can add up ridiculously quick in the event you're assessed on your unit.