{
  "url": "https://openlegislation.uk/criminal-procedure-scotland-act-1995/section-271Z",
  "json_url": "https://openlegislation.uk/criminal-procedure-scotland-act-1995/section-271Z.json",
  "legislation": "ukpga/1995/46",
  "legislation_title": "Criminal Procedure (Scotland) Act 1995",
  "legislation_url": "https://openlegislation.uk/criminal-procedure-scotland-act-1995",
  "path": "section/271Z",
  "kind": "section",
  "number": "271Z",
  "heading": "Appeal against a refusal to vary or discharge a witness anonymity order",
  "text": "(1) This section applies where—\n(a) an appeal is brought under section 271V(1)(f) against a refusal to discharge or vary a witness anonymity order, and\n(b) the court hearing the appeal determines that the decision of the judge at first instance was wrong in law.\n(2) The court hearing the appeal must discharge the order, or make the variation, as the case requires.\n(3) If, in the case of a variation, the court hearing the appeal determines that it is appropriate to make an additional variation in view of the provisions of sections 271R and 271S, the court may do so.",
  "extent": "S",
  "status": null,
  "version": "current",
  "annotations": [
    {
      "type": "F",
      "label": "F1",
      "text": "Ss. 271N-271Z inserted (28.3.2011) by Criminal Justice and Licensing (Scotland) Act 2010 (asp 13), ss. 90(1), 206(1); S.S.I. 2011/178, art. 2, sch."
    },
    {
      "type": "F",
      "label": "F2",
      "text": "Words in s. 271Z(1)(b) substituted (22.9.2015) by The Courts Reform (Scotland) Act 2014 (Consequential Provisions No. 2) Order 2015 (S.S.I. 2015/338), art. 1, sch. 2 para. 5(14) (with art. 4)"
    },
    {
      "type": "F",
      "label": "F3",
      "text": "Words in s. 271Z(2) substituted (22.9.2015) by The Courts Reform (Scotland) Act 2014 (Consequential Provisions No. 2) Order 2015 (S.S.I. 2015/338), art. 1, sch. 2 para. 5(14) (with art. 4)"
    },
    {
      "type": "F",
      "label": "F4",
      "text": "Words in s. 271Z(3) substituted (22.9.2015) by The Courts Reform (Scotland) Act 2014 (Consequential Provisions No. 2) Order 2015 (S.S.I. 2015/338), art. 1, sch. 2 para. 5(14) (with art. 4)"
    },
    {
      "type": "C",
      "label": "C1",
      "text": "Ss. 271N-271Z applied (28.3.2011) by Criminal Justice and Licensing (Scotland) Act 2010 (asp 13), ss. 90(3)(4), 206(1); S.S.I. 2011/178, art. 2, sch."
    }
  ],
  "outstanding_effects": [],
  "provenance": {
    "source": "legislation.gov.uk",
    "source_url": "https://www.legislation.gov.uk/ukpga/1995/46/section/271Z",
    "retrieved_at": "2026-11-05T03:43:46.035735+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."
}