With most vehicles if insurance under estimates the replacement cost of your vehicle it's up to you to prove to them what a realistic replacement value is.
In a case like this I would expect the same- that the dealer either replace the car for me or give me a fair value that I could go out and buy another one.