{
  "url": "https://openlegislation.uk/regulation-of-investigatory-powers-scotland-act-2000/section-26",
  "json_url": "https://openlegislation.uk/regulation-of-investigatory-powers-scotland-act-2000/section-26.json",
  "legislation": "asp/2000/11",
  "legislation_title": "Regulation of Investigatory Powers (Scotland) Act 2000",
  "legislation_url": "https://openlegislation.uk/regulation-of-investigatory-powers-scotland-act-2000",
  "path": "section/26",
  "kind": "section",
  "number": "26",
  "heading": "Effect of codes of practice",
  "text": "(1) A person exercising or performing any power or duty in relation to which provision may be made by a code of practice under section 24 or 25 above shall, in doing so, have regard to the provisions (so far as they are applicable) of every code of practice for the time being in force under that section.\n(2) A failure on the part of any person to comply with any provision of a code of practice for the time being in force under section 24 or 25 above shall not of itself render the person liable to any criminal or civil proceedings.\n(3) A code of practice in force at any time under section 24 or 25 above shall be admissible in evidence in any criminal or civil proceedings.\n(4) If any provision of a code of practice issued under section 24 or 25 or revised under section 24(7) above appears to—\n(a) the court or tribunal conducting any civil or criminal proceedings;\n(b) the Investigatory Powers Commissioner carrying out any of the functions of that Commissioner under this Act; or\n(c) a Judicial Commissioner (other than the Investigatory Powers Commissioner) carrying out the functions of that Commissioner under this Act insofar as relating to the Police Serviceor the Police Investigations and Review Commissioner,\nto be relevant to any question arising in the proceedings, or in connection with the exercise of that jurisdiction or the carrying out of those functions, in relation to a time when it was in force, that provision of the code shall be taken into account in determining that question.",
  "extent": "S",
  "status": null,
  "version": "current",
  "annotations": [
    {
      "type": "F",
      "label": "F1",
      "text": "Words in s. 26(4)(b) substituted (1.9.2017) by Investigatory Powers Act 2016 (c. 25), s. 272(1), Sch. 10 para. 93(a) (with Sch. 9 paras. 7, 8, 10); S.I. 2017/859, reg. 2(j)"
    },
    {
      "type": "F",
      "label": "F2",
      "text": "Words in s. 26(4)(c) substituted (1.9.2017) by Investigatory Powers Act 2016 (c. 25), s. 272(1), Sch. 10 para. 93(b) (with Sch. 9 paras. 7, 8, 10); S.I. 2017/859, reg. 2(j)"
    },
    {
      "type": "F",
      "label": "F3",
      "text": "Words in s. 26(4)(c) substituted (1.4.2013) by Police and Fire Reform (Scotland) Act 2012 (asp 8) , s. 129(2) , Sch. 7 para. 15(13)(a) ; S.S.I. 2013/51 , art. 2 (with transitional provisions and savings in S.S.I. 2013/121 )"
    },
    {
      "type": "F",
      "label": "F4",
      "text": "Words in s. 26(4)(c) inserted (1.4.2013) by Police and Fire Reform (Scotland) Act 2012 (asp 8) , s. 129(2) , Sch. 7 para. 15(13)(b) ; S.S.I. 2013/51 , art. 2 (with transitional provisions and savings in S.S.I. 2013/121 )"
    }
  ],
  "outstanding_effects": [],
  "provenance": {
    "source": "legislation.gov.uk",
    "source_url": "https://www.legislation.gov.uk/asp/2000/11/section/26",
    "retrieved_at": "2026-10-29T20:17:22.384343+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."
}