Ireland formally joined the European Economic Community alongside the UK and Denmark โ a decision that would transform the Irish economy and later shape the Brexit debate over the Northern Ireland border.