will the transfer of sovereignty of both the republic and northern ireland to the united states bring automatic membership of the eu to the province , or will the republic be required to leave the union ?