No. In fact there was a treaty signed to the fact that after the war was over Japan and Germany were to enter negotiations and Japan was to pay Germany and Germany would formally hand them over.
Source Bernd Martin - Japan and Germany in the Modern World.