Latvia states of Northern and Eastern Europe were divided into German and Soviet "spheres of influence". In the north, Latvia, Finland and Estonia were assigned to the Soviet sphere. A week later, on 1 September 1939, Germany and on 17 September, the Soviet Union invaded Poland. After the conclusion of the Molotov-Ribbentrop Pact, most of the Baltic Germans left Latvia by agreement between Ulmanis' government and Nazi Germany under the Heim ins Reich programme. In total 50,000 Baltic Germans left by the deadline of December 1939, with 1,600 remaining to conclude business and 13,000 choosing to remain in Latvia. Most of
Poland–Russia border a majority of the individuals crossing the borders did so for the explicit purpose of short term (usually under one day) shopping; this was the case with 45% of foreigners entering Poland, and 87% of Poles entering Russia. Compared to traffic on other non-EU Polish borders, a much larger percentage (22% foreigners and 7% Poles) crossed the borders for the purpose of tourism and transit (16.5% foreigners). Because Kaliningrad Oblast is small, homogeneous and an exclave within the European Union, in 2011 the whole Oblast was granted the status of border area eligible to local border traffic rules. In reciprocity,