Nothing in section 4(1) above shall affect—
(a) any right of Her Majesty, by virtue of Her Royal prerogative or otherwise, to grant a free pardon, to quash any conviction or sentence, or to commute any sentence;
(b) the enforcement by any process or proceedings of any fine or other sum adjudged to be paid by or imposed on a spent conviction;
(c) the issue of any process for the purpose of proceedings in respect of any breach of a condition or requirement applicable to a sentence imposed in respect of a spent conviction; or
(d) the operation of any enactment by virtue of which, in consequence of any conviction, a person is subject, otherwise than by way of sentence, to any disqualification, disability, prohibition , penalty, requirement, restriction or other regulation of the person's behaviour the period of which extends beyond the rehabilitation period applicable in accordance with section 6 above to the conviction.
Nothing in section 4(1) above shall affect the determination of any issue, or prevent the admission or requirement of any evidence, relating to a person's previous convictions or to circumstances ancillary thereto—
(a) in any criminal proceedings before a court in England and Wales (including any appeal or reference in a criminal matter);
(b) in any service disciplinary proceedings or in any proceedings on appeal from any service disciplinary proceedings;
(bb) in any proceedings under Part 2 of the Sexual Offences Act 2003, or on appeal from any such proceedings;
(c) in any proceedings relating to adoption, the marriage of any minor, or the formation of a civil partnership by any minor, the exercise of the inherent jurisdiction of the High Court with respect to minors or the provision by any person of accommodation, care or schooling for minors;
(d) in any proceedings relating to the variation or discharge of a youth rehabilitation order under Chapter 1 of Part 9 of the Sentencing Code, or on appeal from any such proceedings;
(cc) in any proceedings brought under the Children Act 1989;
(e) in any proceedings before a children's hearing under the Social Work (Scotland) Act 1968 or on appeal from any such hearing; or
(f) in any proceedings in which he is a party or a witness, provided that, on the occasion when the issue or the admission or requirement of the evidence falls to be determined, he consents to the determination of the issue or, as the case may be, the admission or requirement of the evidence notwithstanding the provisions of section 4(1).
(g) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . or
(h) in any proceedings brought under Part 7 of the Coroners and Justice Act 2009 (criminal memoirs etc).
. . . . . ..
If at any stage in any proceedings before a judicial authority in England and Wales (not being proceedings to which, by virtue of any of paragraphs (a) to (e) of subsection (2) above or of any order for the time being in force under subsection (4) below, section 4(1) above has no application, or proceedings to which section 8 below applies) the authority is satisfied, in the light of any considerations which appear to it to be relevant (including any evidence which has been or may thereafter be put before it), that justice cannot be done in the case except by admitting or requiring evidence relating to a person's spent convictions or to circumstances ancillary thereto, that authority may admit or, as the case may be, require the evidence in question notwithstanding the provisions of subsection (1) of section 4 above, and may determine any issue to which the evidence relates in disregard, so far as necessary, of those provisions.
The Secretary of State may by order exclude the application of section 4(1) above in relation to any proceedings specified in the order (other than proceedings to which section 8 below applies) to such extent and for such purposes as may be so specified.
No order made by a court with respect to any person otherwise than on a conviction shall be included in any list or statement of that person's previous convictions given or made to any court which is considering how to deal with him in respect of any offence.