At the height of military engagement with Japan in the far east,  the USSR signed a pact of non-aggression with Nazi Germany. The pact would allow the Soviets to concentrate on the  border war with Japan and Germany to subsequently invade Poland without Soviet response.

Wikimedia Commons