It's a game of odds in the insurance world, the price of the repair vs price of the car vs the posible fantom whip lash claims. I put a dodge shadow back on the road(insurance write off) the vehicle inspection cost more than the repair I did (air bag deployed) Anyways the cheaper the insurance company gets off is usually the way it goes ie; used parts or pay you out.
My .02 :-/