It is a win-win situation, the majority of those junior devs are from North Africa and they still make way more than they would have back home.
People, especially the rich, often pretend we don't live in nation states and that the global nation is here -- but it very much isn't. I think we ought to be afraid of what happens when nation states dissolve. The ultimate result doesn't seem to be unification but disunion.
I think the "populist vs. globalist" dichotomy as is often used in our political discourse today is far too reductive and not descriptive of reality, if not for society at large then definitely for HN.