The point is, that it's of no matter what the law was way back then.
During World War II, German families living in the UK were locked up, for being German. Just because it was the law then is not a case for allowing it to continue now.
Sgt. Nightingale has clearly, even by his own mitigation plea in the CM, broken the law (as it is today) and chose to plead guilty to doing so.