You received replacement, but not a new one but repaired unit. If you cared about phone, it is better if you get your own. They don't want to admit it is a different phone, as full manufacturers warranty would apply.
I'm also intrigued.. you got back a working phone after fighting with them.. and then handed it back.. do you not expect them to fsck you around some more?