Or they can be hired in their country for a foreign company for a ridiculously high salary for the country. Anyway good engineers won't be outsourced for a company that keeps 70% of what the customer actually pays for long.
A friend of mine lives in Bolivia, and literally tripled his salary (actually a bit more than triple) just by doing this.