This may have been mentioned before:
In WWII FDR's Executive Order 9066 authorized the internment of Japanese Americans.
It was upheld by the Supreme Court saying it was permissible to curtail the civil rights of a racial group when there is a "pressing public necessity."