Domstol avviser at Nord-Irland har veto mot brexit