Why were so many Soviet films about an anticipated Nazi German invasion into the USSR shot in 1938–1939, both before the Molotov-Ribbentrop pact and after it?
Before the Molotov-Ribbentrop pact Nazi Germany had no shared border with the USSR, yet the movies show German (and not, say, Polish) invasion. After the pact, the countries were formally friendly, but still the USSR issued many films about a sudden German invasion. Could the public of the time interpret such films as an indication of Soviet desire to invade Germany (especially given in all such films the Soviets usually pushed the enemies back and defeated the Germans on German territory)?
Most of such films were destroyed after the war, but here are some examples:
Tankers (1939) - the invading power is clearly Germany, the officers with German names speak about "Versalles humilation" and superiority of Aryan race. They call themselves "Aryan army". They also consult with the "Supreme Leader". The soldiers wear Stahlhelm.
If a war is tomorrow (1938) - the officers of the invaders speak German language, speak about superiority of their race, and the helmets and tanks have swastikas (although the design of the helmets is French).
Squadron No. 5 (1939) - again, the invading power is Nazi Germany