"315 Minimum sentence for repeat offence involving weapon or bladed article (1) This section applies where – (a) an offender is convicted of an offence (the 'index offence') under — … (ii)section 139(1) of the Criminal Justice Act 1988 (having article with blade or point in public place), … (b) the offence was committed on or after17 July 2015 , and (c) when the offence was committed, the offender — (i) was aged at least 16, and (ii) had at least one relevant conviction. (2) The court must impose an appropriate custodial sentence unless the court is of the opinion that there are particular circumstances which — (a) relate to the offence, to the previous offence or to the offender, and (b) would make it unjust to do so in all the circumstances. (3) In subsection (2) 'appropriate custodial sentence' means — (a) in the case of a person aged under 18 when convicted of the index offence, a detention and training order of at least 4 months; (b) in the case of a person aged 18 or over but under 21 when convicted of the index offence, a sentence of detention in a young offender institution for a term of at least 6 months; (c) in the case of a person aged 21 or over when convicted of the index offence, a sentence of imprisonment for a term of at least 6 months. (4) In this section 'relevant conviction' means — (a) a conviction of a relevant offence, … (5) In this section 'relevant offence' means an offence under — (a) section 1 or 1A of thePrevention of Crime Act 1953 (offences involving offensive weapons), or (b) section 139, 139A or 139AA of theCriminal Justice Act 1988 (offences involving article with blade or point or offensive weapon)."
"264 Suspended sentence order for person under 21: availability (1) This section applies where, in dealing with an offender for an offence, the court imposes a sentence of detention in a young offender institution. (2) A suspended sentence order (see section 286) is available in relation to that sentence if the term of the sentence of detention in a young offender institution is not more than 2 years. (3) But a suspended sentence order is not available in relation to that sentence if — (a) the sentence of detention in a young offender institution is one of two or more sentences imposed on the same occasion which are to be served consecutively, and (b) the terms of those sentences are in aggregate more than 2 years. (4) For provision about suspended sentences, see Chapter 5."
"286 Suspended sentence order (1) A suspended sentence order is an order providing that a sentence of imprisonment or detention in a young offender institution in respect of an offence is not to take effect unless — (a) an activation event occurs, and (b) a court having power to do so subsequently orders under paragraph 13 of Schedule 16 that the sentence is to take effect. (2) A suspended sentence order may also specify one or more available community requirements with which the offender must comply during the supervision period. (3) An activation event occurs if the offender — (a) commits another offence in the United Kingdom during the operational period (whether or not punishable with imprisonment), or (b) during the supervision period, contravenes any community requirement imposed by the order. (4) The community requirements are listed in column 1 of the community requirements table (see section 287). (5) Provision about each requirement is made by the provisions of Schedule 9 mentioned in the corresponding entry in column 2 of that table. (6) In this Code — 'suspended sentence order' has the meaning given by subsection (1); 'suspended sentence' means a sentence to which a suspended sentence order relates. (7) In this Code, references to a community requirement of, or imposed by, a suspended sentence order are to a requirement specified in the order under subsection (2)."
"289 Suspended sentence to be treated generally as sentence of imprisonment, etc (1) A suspended sentence which has not taken effect under paragraph 13 of Schedule 16 is to be treated as — (a) a sentence of imprisonment, or (b) as the case may be, a sentence of detention in a young offender institution, for the purposes of all enactments and instruments made under enactments. (2) Subsection (1) is subject to any provision to the contrary contained in — (a) theCriminal Justice Act 1967 , (b) any enactment passed or instrument made under any enactment after31 December 1967 ."