I love this link about a treaty, which the Soviets broke quickly, that was the direct result of a different treaty between Nazi Germany, the UK, France, and Italy that was signed a year earlier.
https://en.wikipedia.org/wiki/Munich_Agreement
It seems like the signatories to that treaty had no issue with the Nazis annexing particular bits of Europe at the time ¯\_(ツ)_/¯