Ouchhhhh. That's really unfortunate man. If they do write it off, fight tooth and nail. Make it a point that to replace that car with an identical once isn't the same as another 01 530i on auto trader. Receipts for your recent work may help, too. They will throw many low balls at you. You just need to prove the opposite.
'02 ///M5 Imola Red / Imola Red '09 335i Alpine White / Coral Red
'04 E55 AMG Brilliant Silver / Anthracite
'96 318i Alpine White / Black
'01 330Ci Titanium Silver / Coral Red
'96 328i Jet Black / Black