The tech giant said it was complying with local law but did not compromise data security.