Under the plan, Ireland would voluntarily agree to temporarily leave European Union trading rules and align with the UK instead.