Sadly, the reason he was able to do it because it was a popular policy among the majority of the population [1]
[1] "The American public overwhelmingly approved of the Japanese-American internment measures and as a result, they were seldom opposed" https://en.wikipedia.org/wiki/Internment_of_Japanese_America...