Washington defeated Germany and Japan in the 1940s and proceeded to demilitarize them and occupy them with its own forces. This is historically standard military practice. It is not a "nice gesture" from Washington. It was all part of a coherent strategy to contain and confront the rival USSR, around which Germany and Japan represent critical nodes.
You remind me of the leftists I met when I lived in Kreuzburg in Berlin.
Yes, part of Germany was occuppied by the Western Allies until 1955. And there were sone technical restrictions on the sovereignty of Germany-as-a-whole until the 2+4 Treaty went into full effect in 1991.
But even the later of those dates was almost 17 years before Obama became President.
> It was all part of a coherent strategy to contain and confront the rival USSR
The occupation of the Axis Powers by the Allies, including the USSR, was not part of a strategy to contain the USSR. It may have formed part of the context of such a strategy, but that’s a different thing.