I bet that damage did not hurt the car structurally and unlike the F50 and successors, the F40 has a steel space frame with some Kevlar/Carbon panels bonded to it, so it is pretty fixable. That said, the rear clam alone is going to be over $50K, not counting the window or any other parts. Probably a $150-$200K accident and another $50-100K hit in resale value. As it sits, that is $200K F40, I suspect.
I LOVE high F40 prices and they are not that bad to insure, actually. 2009-2012 appreciation on an F40 beats the DJIA, although it is true there are storage and insurance and upkeep costs to consider, but still, not many cars go up in value.