A code scan and diagnostic check are two different things.
A code scan is exactly as implied, you've read the ECU that's indicating there's an issue with the sensor and have no further information or definitive evidence that warrants the replacement of the sensor other than that code at this point.
A diagnostic check, especially one where warranty is picking up the bill will require checks for technical bulletins, software updates and wiring. The fact that the code states "sensor circuit" could well indicate that the wiring has been compromised, if that's the case then you could replace the sensor ten times and the fault will still remain, the same if it's a software issue.
The quote for the diagnostic check is a franchise group thing and not the brand, I hear about it a lot from Southern dealerships.
You'd be surprised how often the cause is wiring and even more so when it's the result of an outside influence, like rodent damage.