Argentina–Spain relations were made declassified and stated that Prime Minister Margaret Thatcher feared that during the Falkland war, Spain would join Argentina by invading Gibraltar. A dispute arose in 2012, when Argentina sought to nationalize the energy company YPF, owned by the Spanish multinational company Repsol. Spain warned against such a move stating that it would harm bilateral relations if such a move were to happen. On 16 April, Argentina's President Cristina Fernández de Kirchner announced the nationalization of YPF, to which Spain warned of a "clear and decisive" response. Since then, Argentina has recompensed the Spanish government and Repsol over the
YPF provinces subsequently revoked YPF leases representing a fifth of its oil production. Citing Brazilian oil giant Petrobras as an example, the president announced the introduction of a bill on 16 April 2012, for the renationalization of YPF: the national government would purchase a controlling 51% share, with ten provincial governments receiving the remaining 49%. Planning Minister Julio de Vido was appointed to head the Federal intervention, replacing CEO Sebastián Eskenazi. Repsol YPF CEO Antonio Brufau, Spanish Prime Minister Mariano Rajoy, and other Spanish officials objected to the nationalisation, accusing the Argentine government of driving down YPF shares ahead of the