The Moscow Peace Treaty that ended the Winter War in March 1940 required Finland to allow the Soviet Navy to establish a naval base on the Hanko Peninsula, at the entrance to the Gulf of Finland.
On July 9, two days after Sweden had officially admitted to have granted transfer rights to Germany, Soviet Foreign Minister Molotov demanded free transfer rights through Finland, using Finnish Railways.