{
  "url": "https://openlegislation.uk/sexual-offences-act-2003/section-66J",
  "json_url": "https://openlegislation.uk/sexual-offences-act-2003/section-66J.json",
  "legislation": "ukpga/2003/42",
  "legislation_title": "Sexual Offences Act 2003",
  "legislation_url": "https://openlegislation.uk/sexual-offences-act-2003",
  "path": "section/66J",
  "kind": "section",
  "number": "66J",
  "heading": "Section 66I: further defences",
  "text": "(1) It is a defence for a person charged with an offence under section 66I to prove that the person did the act which constituted the offence for the purposes of the prevention, detection or investigation of crime, or for the purposes of criminal proceedings, in any part of the world.\n(2) It is a defence for a person charged with an offence under section 66I to prove that the person—\n(a) was a member of the Security Service, the Secret Intelligence Service or GCHQ (a “security body”), and\n(b) did the act which constituted the offence for the purposes of the exercise of any function of the security body.\n(3) “GCHQ” has the meaning given by section 3 of the Intelligence Services Act 1994.\n(4) It is a defence for a person charged with an offence under section 66I to prove that the person—\n(a) was a member of OFCOM, was employed or engaged by OFCOM, or assisted OFCOM in the exercise of any of its online safety functions, and\n(b) did the act which constituted the offence for the purposes of OFCOM’s exercise of any of its online safety functions.\n(5) In subsection (4)—\n(a) “OFCOM” means the Office of Communications;\n(b) a reference to OFCOM’s “online safety functions” has the meaning given by section 235 of the Online Safety Act 2023.",
  "extent": "E+W",
  "status": null,
  "version": "current",
  "annotations": [
    {
      "type": "F",
      "label": "F1",
      "text": "Ss. 66I-66L inserted (29.6.2026) by Crime and Policing Act 2026 (c. 20), ss. 99(2), 255(1); S.I. 2026/689, reg. 2(1)(i)"
    }
  ],
  "outstanding_effects": [],
  "provenance": {
    "source": "legislation.gov.uk",
    "source_url": "https://www.legislation.gov.uk/ukpga/2003/42/section/66J",
    "retrieved_at": "2026-10-29T09:17:48.870823+00:00"
  },
  "licence": "Open Government Licence v3.0",
  "licence_url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
  "attribution": "Contains public sector information licensed under the Open Government Licence v3.0. Source: legislation.gov.uk, The National Archives."
}