Northern Ireland is due to leave the European Union along with the rest of the United Kingdom on October 31, 2019.