Treaty of Rome in 2009, the Treaty of Lisbon renamed it the "Treaty on the Functioning of the European Union". The TFEU originated as the treaty establishing the European Economic Community (the EEC treaty), signed in Rome on 25 March 1957. On 7 February 1992, the Maastricht treaty, which led to the formation of the European Union, saw the EEC Treaty renamed as the Treaty establishing the European Community (TEC) and renumbered. The Maastricht reforms also saw the creation of the European Union's three pillar structure, of which the European Community was the major constituent part. Following the 2005 referenda, which saw the
Special member state territories and the European Union lodged by the United Kingdom with the EEC in 1982, Gibraltarians were to be counted as British nationals for the purposes of Community law. This was notwithstanding that they were not, at the time, British citizens, but were British Overseas Territories citizens with the right to be registered as British citizens. As such, Gibraltarians have enjoyed European Community treaty rights since UK's accession to the European Community, and subsequently European Union citizenship since the Maastricht Treaty. It was not until 21 May 2002 when Gibraltarians who did not apply for British citizenship were automatically granted British citizenship while still retaining