New insights into origins of Anglo-Irish Agreement