The "Geneva Convention relative to the Treatment of Prisoners of War" had been signed by Germany and most other countries in 1929, while the USSR and Japan did not sign until after the war (the final version of the Third Geneva Convention of 1949). This meant that Germany was legally obliged to treat all POWs according to it, while in turn, Germans captured by the Red Army could not expect to be treated in such a manner. The Soviet Union and Japan did not treat prisoners of war in accordance with the Geneva Convention. While the Wehrmacht's prisoner-of-war camps for inmates from the west generally satisfied the humanitarian requirement prescribed by international law, prisoners from Poland (which never capitulated) and the USSR were incarcerated under significantly worse conditions.