This is the section of NZ Signals Intelligence Directive 7 that was in force at the time Dotcom was spied on. The GCSB misunderstood what "permanent resident" meant, thinking it was okay to spy on Dotcom because he was just a "resident". The GCSB was wrong.