{
  "url": "https://openlegislation.uk/draft-criminal-justice-scotland-act-2016-consequential-provisions-order-2017/article-12",
  "json_url": "https://openlegislation.uk/draft-criminal-justice-scotland-act-2016-consequential-provisions-order-2017/article-12.json",
  "legislation": "ukdsi/2017/9780111159866",
  "legislation_title": "The Criminal Justice (Scotland) Act 2016 (Consequential Provisions) Order 2017",
  "legislation_url": "https://openlegislation.uk/draft-criminal-justice-scotland-act-2016-consequential-provisions-order-2017",
  "path": "article/12",
  "kind": "article",
  "number": "12",
  "heading": "Duty of other officials to have regard to code of practice about searches",
  "text": "(1) An immigration officer, a designated customs official and an officer of Revenue and Customs must have regard to any code of practice issued under section 73 of the 2016 Act in exercising any function corresponding to a function to which the code applies.\n(2) In this article, “immigration officer” and “designated customs official” have the meaning given by paragraph 1 of Schedule 3.",
  "extent": null,
  "status": null,
  "version": "current",
  "annotations": [],
  "outstanding_effects": [],
  "provenance": {
    "source": "legislation.gov.uk",
    "source_url": "https://www.legislation.gov.uk/ukdsi/2017/9780111159866/article/12",
    "retrieved_at": "2026-10-30T15:06:14.523018+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."
}