Gene Hackman had been experiencing pains in his back. The film's insurance company refused to allow the shooting to continue because a permanent injury to Hackman could have cost it a lot of money. The insurers suggested shooting the film somewhere in the deserts of the United States. But the color of the sand dunes in Agadir is not the same as the color of the sand in Nevada. Several big American transport planes were used to transport tons of sand from the Agadir dunes in order to camouflage the sand of Nevada. (Source: Beyond Casablanca, Page 131).
Minister: [Reassuring Marneau that, in spite of Major Foster's lack of cooperation, the Foreign Legion will be used to help provide military security for Marneau's intended archaeological excavation at Erfoud]
We can certainly risk a few Legionnaires for France. After all, they are mostly foreigners.