Respect for applicable law was at the core of sound counterterrorism policy.