NI 'must stay' in customs union to prevent hard border