My son's 2004 Impala was backed into while it was parked. Two different times and different places within the space of not even three months.
First time a fellow student backed into it at school. Still covered under my more comprehensive insurance as we were just beginning the process of transferring it to his name. Basically damaged the left front bumper cover and fender, scratched the headlight assembly. (Fender ended up being straightened and lights were buffed smooth). Initial quotes we got were very close to the write off threshold and it could have gone either way (a shop we found worked to keep it down with used and aftermarket parts), but we started to explore our options in case the repair cost was too high.
The scenario in Canada, as explained to me by our insurance broker, was if we were to decide to buy the car back if it were written off, we would need to have it repaired to "as new" standards, and would have to pass a federally regulated inspection. She had customers go through that process, and spend thousands more than they thought they would, and it took way more time than anyone anticipated. We were cautioned this wasn't a good route financially. But this also implies that the car is supposedly better than a used one with a clean title of the same age. That said, I still wouldn't touch one. There's a huge stigma still on the market for a rebuilt car.
Unfortunately, the second incident occurred just after we got the car back fully repaired. This time, a neighbour's visitor backed into it while it was parked on the street outside our house. Had to chase the guy down, and our other neighbours thankfully saw it, and had video footage. But the damage this time was deeper (light and fender beyond repair), and after many months, it was ultimately written off. My son was better off financially, but to this day, still doesn't have a replacement car (tough market, as well as other life circumstances). We are first in line to buy a clean title car from a mechanic friend, who's currently rebuilding some worn engine and transmission components on a car my son wants. He may even get a chance to help him with the work and learn how the car works mechanically.