The DUP leader has drawn an explicit parallel with Margaret Thatcher's signing of the 1985 Anglo-Irish Agreement.