After months of arduous negotiations between the EU and the UK, an agreement has been reached on the highly controversial Northern Ireland…