The 1997 treaty in Amsterdam was not the TEU, this was signed in Maastricht in 1991. A simple click on the link shows this...