While Ireland has been stung thanks to its membership of the EU, the special Brexit deal done for Northern Ireland could allow it to benefit.