candidate: Later in 1941 , Japan would consider breaking the pact when Nazi Germany invaded the Soviet Union ( Operation Barbarossa ) , but they did not , largely due to the defeat at Battle of Khalkhin Gol , even though Japan and Nazi Germany were part of the Tripartite Pact .