In the UK GCHQ has exemptions to cover things like anti-circumvention of copyright law; images of child sexual abuse; copyrights; etc etc.