The problem becomes when the repair is more than the book value of the car.
DO NOT CARE ABOUT THE BLUE BOOK.
THE HIGH COST OF A NEW VEHICLE/REGISTRATION/INSURANCE is worse.