Answer:
In the given context, "Gangsters' compact" refers to the non-aggression pact signed between Nazi Germany and the Soviet Union in 1939. The term "gangster" is used to imply that the agreement was made between two unscrupulous powers for their own gain, rather than for any moral or ideological reasons.