This has understandably been discussed on quite a few occasions: see for instance here (with links to earlier exchanges).
I would say that it can't be shown to have been necessary, because the political options that might have brought an earlier surrender hadn't been exhausted (as I relate there). But that doesn't automatically mean it might not have become an eventual necessity to force surrender had other options been pursued and rejected.