However in such cases the organisations such as the UN should intervene and make sure the developing countries have control of their natural resources.
However the country can create laws in which locals must be hired and trained. An example of this is the Saudi Arabia. It is assumed then that the local workers will be experienced enough to be promoted and then become proficient in the area.