Not in an emergency scenario but more like "it doesn't make sense to stay here anymore".
I mean, I can tell you why. It's not feasible if it costs too much. If it makes sense (i.e. the land is worth X and cost of a wall is some fraction of X that people can afford) people will do it.