Interestingly, if a marriage is legal in the country it takes place in, then Ireland will recognise the marriage
The importance of recognising a marriage revolves around entitlements to Irish assets in the event of a marital breakup.
https://www.dfa.ie/travel/our-services/marriage-and-civil-partnership-abroad/
See this section
Registering your marriage or civil partnership
If you marry or enter into a civil partnership abroad, it will only be recognised in Ireland if it is registered in the country where the ceremony took place and provided all legal formalities have been followed.
mf