The underlying principle is easy enough: a state grants the right to live there to foreigners who place a qualifying amount in housing. The threshold is set very differently between countries, and governments adjust it with limited notice. One key point separates a residence permit and naturalisation. A residence permit gives you the right to
