Because the constitution prohibited any direct or indirect foreign ownership, there was no way to provide incentives for foreign firms to share their technology. But that foreign technology offered such important potential gains that President Enrique Peña Nieto was able to marshal a majority in the Mexican congress to amend the constitution and pass legislation that will bring foreign energy firms to the country.