If our cars get a new engine (because of mfgr defects) under warrenty from Porsche, will THAT effect trade-in values?

To be honest, I would be a liiiiiittle wary of buying a car with such a past, even if all numbers _officially_ "matched" and it had a year or so original warrenty still in effect.

Would you feel the same about keeping your car after engine replacement or would you become a little more anxious to trade it in?