The ruling is an important decision on judicial review of executive invocation of emergency powers to use the military for domestic law enforcement.