Thomas realised that the only way for the Island of Sodor to guarantee it's security was to demonstrate the effectiveness of its nuclear weapons program. He was about to be a very naughty engine.
After Thomas' actions during the great war, Thomas is interrogated at the Nuremberg trials where he explains that he was only following orders
Could be worse, so much worse.
The worst part is that you can buy that shit...