And, in some cases like this, the repair will be done, even if it doesn't appear to make sense economically just to avoid a 'hull loss' which can drive up fleet insurance rates. Or, look bad for the airline 'Rainman' safety record e.g. QF1 at BKK.
Yet from another view, having negotiated with insurance consortium, they are pretty savvy folks who look at far bigger pictures than small stuff like this one.
Then again I have seen airlines who gladly attempt to write off what appears to be repairable in order to get something newer.