Stalin signed an agreement with Hitler! "sure. He was late to that party.
In August 1939, half of Europe had already signed something with Hitler. Poland came first, with a declaration of non-aggression in January 1934. In June 1935, Britain signed a naval agreement that allowed Germany to build a fleet far beyond the limits of the Treaty of Versailles.