Frankly, when I saw this film late at night 20 years ago, I realized that it was racist justification for the unconstitutional internment of thousands of American citizens during WWII.
Not quite as bad as Beat the Devil, but only because I could understand the dialogue.
Bogie should have turned this one down.
It's easy to condemn people for how they acted in 1942 without knowing if we would have avoided being carried away with the hysteria of the time about the danger posed by Japanese living in the US.
In WWI the Australian and New Zealand governments interned many immigrants (including naturalized citizens) who were born in the Austro-Hungarian empire, even those who detested the Austro-Hungarian control of their homeland and wanted to fight for the Allied cause. Was that racist? They were white (just of the wrong ethnic background). Similar to what the US government did to the Japanese (without the excuse of a sneak attack by the Austrians on any British base).