It does better than previous treaties such as the Treaty of Rome and the Treaty of Maastricht . It gives the European Union such new things as : It consists of a number of amendments to the Treaty on European Union ( `` Maastricht Treaty '' ) and the Treaty establishing the European Community ( `` Treaty of Rome '' ) , the latter renamed ` Treaty on the Functioning of the European Union ' in the process .