No, they weren't. The "barbarians" they despised were all of their neighbors. That is what barbarian originally meant, not Greek. When they felt like being really spicy it'd mean people from a different city state.
When Hiroshima was erased in less than a second, the Japanese navy had been eradicated.
The status of their mainland holdings was irrelevant, because they were under blockade.
Their air force was out of planes, oil, and pilots.
Their mechanization program basically never happened in the first place, and their tanks were irrelevant to a military that had marched to Berlin.
Their miracle weapon programs were failures or still in development.
They'd lost 2 million troops trying to conquer China, Korea, and the Philippines and killing 20 million people in the process.
They knew from the start that victory against America alone was impossible. The warmongers just thought the filthy gaijins would surrender if they sank enough of the Pacific Fleet.
They had agreed to abide by the Geneva Conventions and then immediately broke their word.
They had already seemingly refused a conditional surrender offer.
The person writing the paper that council of academics pulled their ideas from has been repeatedly found falsifying documents and denying the Rape of Nanking.
The USA waited three days between bombings to give them time to surrender in the face of power even the most delusional could not deny.
Do you know what happened instead?
The military tried to launch a coup to stop the surrender after the second bomb, the Kyuju incident. The War Minister tried to enlist the rest of the government to help against the wishes of their literal God Emperor.
Get fucking real with your "They were going to surrender anyways."
Now if want to argue the Allies should have just starved them out instead...
Maybe. How many peasants do you think the most zealous military cult in history would have let die before admitting defeat?
How much would you have spent offering mercy to an enemy that had none of their own?
They got sued anyways and lost, thus the change