Context: The entirety of Germany was occupied and administered by the Allies of World War II from the Berlin Declaration on 5 June 1945 to the establishment of West Germany on 23 May 1949. Unlike occupied Japan, Germany was stripped of its sovereignty and former state: after Nazi Germany surrendered on 8 May 1945, four countries representing the Allies (the United States, United Kingdom, Soviet Union, and France) asserted joint authority and sovereignty through the Allied Control Council (ACC) under the Berlin Declaration of 5 June 1945 that led to the fall of the German Reich. At first, Allied-occupied Germany was defined as all territories of Germany before the 1938 Nazi annexation of Austria; the Potsdam Agreement on 2 August 1945 defined the new eastern German border by giving Poland and the Soviet Union all regions of Germany east of the Oder–Neisse line (eastern parts of Pomerania, Neumark, Posen-West Prussia, East-Prussia and almost Silesia) and divided the remaining "Germany as a whole" into four occupation zones, each administered by one of the Allies. So basically after WW2, Germany was divided into four countries, and they had that Costa Rica ripoff flag.
c2a