Also in Sweden for apartments, you don't own it. Most apartments for sale is so called "Bostadsrätter" which means you own a percentage of the association that owns the apartment building(s). If the association/organization has a bad economy and can't pay the debt they could be forced to sell the entire apartment building(s) and you'd loose your apartment while still having a loan to the bank.
Of course you would get that % of the profit, but since it selling in a time of crisis, that would mean you would most likely get significantly less than you otherwise would do.
It doesn't even matter if you have a good economy, the association must have it as well. Lots of those associations or organizations have a really shitty economy and are sensitive to market changes. Especially in Gothenburg and Stockholm.
[1] https://www.migrationsverket.se/images/18.5bc6881815e14db675...
[2] http://sverigesradio.se/sida/artikel.aspx?programid=98&artik...
EDIT: If you downvote / disagree, please explain why? What I stated is pure fact a with a touch of stated opinion which is backed by the numbers.
EDIT 2: I've added sources for the stuff regarding to immigration.