During World War II, an executive order was issued to exclude Japanese Americans from areas considered critical to national defense. Fred Korematsu sued on the grounds that his Fifth Amendment rights had been violated.

What did the Supreme Court rule in Korematsu v. United States?

A) The president should be reprimanded.
B) The executive order was unconstitutional.
C) The due process of law clause was violated by the exclusion.
D) The needs of national security justified the executive order.