Nissan Motor Co. has opted to ship an upcoming electric vehicle to Europe from Japan rather than produce it in the U.K., where one of its largest factories faces existential risk from a hard Brexit.

The battery-powered Ariya sport utility vehicle will be made at Nissan’s facility in Tochigi Prefecture and shipped to Europe and the U.S. from there, the company said Thursday. While the automaker had considered producing the model in Sunderland in northern England, it has repeatedly warned that its plant there won’t be viable if Britain is unable to reach a trade deal with the European Union.