The government wasn't justified for interning them because the government had no evidence that tied any of the Japanese prisoners to being apart or behind the bombing of Pearl Harbor. They were simply interned for being Japanese, which was not only racially biased but also infringed on their right to a fair trial, seeing as many were Japanese-Americans.
I hope this helped you out:)