In your morals perhaps. If you were to run a utilitarian calculus, bombing such a target could deliver the most morally optimal solution. If the war had not have ended, the Japanese could have continued to potentially kill millions. The bomb was a clear and final “you cannot win if you continue to wage war” that they came to accept. The Americans could have as easily dropped it on Tokyo.