It depends on the repair centers; ones outside the country of origin(or the European Economic Area for iPhones from within it) aren’t obligated to honor the warranty and are unlikely to be able to replace them with an unit which is functionally identical to the original.
(155840)