The Nazi wouldn’t have been able to kill that many jews if jews are free to move somewhere else. In fact, the Nazis wouldn’t have been the Nazi we know if globalization had been the norm a century ago.
The same way women cannot be oppressed in Afghanistan if other countries do not cooperate by preventing those women to get out.
There is a limit on how far a country can oppress any positively contributing people if we let free market rather than government to handle it. The sole purpose why we need government is to protect the market and the market will have taken care of everything else.