It is, they’ll do just about everything they can to repair the device they have on hand.
There are always going to be one-offs, but a replacement is not the norm outside of something catastrophic. If it was during battery-gate, replacing it due to damage they caused to avoid messing up the repair queues is probably a good enough reason by itself.