So, as I understand it, leaving the customs union needs a hard border between UK and EU , which would include the border between the Irish Republic and Northern Ireland, unless a deal can be reached to manage that border differently.
Presumably, if we leave with no deal, that hard border is automatically created. However, neither Ireland nor the UK want a border there, so who would put it there/enforce it?