If they give you a different phone, whether new or refurbished, you will need to purchase a new unlock code. This is most likely to happen.
Sent from my XT1058 using Tapatalk 2
Moto X on Bell Mobility
Stock - Rooted, Debloated
Carrier and bootloader unlocked
Retired: S2 i9100, S3 I747, iphone 4s, iphone 5, Nexus 4