PRIOR to the war the Supreme Court had ruled that uncompensated takings were unconstitutional. See the 5th Amendment.
And the Supreme Court modified that decision when in Miller v United States they ruled that the government could deprive an enemy of their property without compensation if that property might be used against them.