Depends.
If it applies to a European/US expat, it's protectionism, as you said.
But the exact same sentence applied on the other way around is the exact definition of racism :
It's hard to justify bringing in an expat imigrant when you have a local who can do the job.
So I would say yes, it is racism, but in that direction it is acceptable.