Germany didn't really exist as an independent country with its own laws from its surrender in May 1945 to May 1949 (When the Western powers decided to create West Germany in their occupied area and a few months later the Soviets created East Germany in theirs).