 In order to ratify the Treaty of Amsterdam, a referendum had to be held to amend the Irish constitution.The 18th Amendment of the Constitution Act, 1998 amended the constitution in order to allow the state to ratify the Treaty of Amsterdam.The British-Irish Agreement provided the legal basis for the Good Friday Agreement.