Depends if there is a clause built into the insurance to say that any new car in an accident within 2 years/30kkm will be replaced, then it wont be scrapped.
New tailgate
boot floor
Rear stiffner
taillights
rear valence
exhaust boxes
and and and and
200 to 300k damage right there, but repairable