The general thinking is that a law is unjust if it doesn't square with natural law. This is certainly the view that was put forth in Martin Luther King's Letter from Birmingham Jail.
So, a law that was passed that treated people differently wouldn't square with the natural law that all humans are equal. And thus, one would have the obligation to disobey that law.
Actually, interpretation is based on evidence and minimum amount of facts.
The Japanese were considered spies and traitors to the Americans so the government took them from their homes and put them in internment camps they're not called concentration camps don't mix it up with nazi germany