5.—(1) This Article applies where a person is convicted of an offence punishable with a custodial sentence other than one—
(a)fixed by law; or
(b)falling to be imposed under—
(i)Article 13 or 14;
(ii)Article 70(2) of the Firearms (Northern Ireland) Order 2004 (NI 3); or
(iii)paragraph 2(4) or (5) of Schedule 2 to the Violent Crime Reduction Act 2006 (c. 38).
(2) The court shall not pass a custodial sentence unless it is of the opinion that the offence, or the combination of the offence and one or more offences associated with it, was so serious that only a custodial sentence can be justified for the offence.
(3) Nothing in paragraph (2) shall prevent the court from passing a custodial sentence if the offender fails to express a willingness to comply with—
(a)a requirement which is proposed by the court to be included in a community sentence and which requires an expression of such willingness; or
(b)a requirement which is proposed by the court to be included in—
(i)an order under Article 8(5) of the Criminal Justice (Northern Ireland) Order 1998 (NI 20); or
(ii)a youth conference order.
(4) Where a court passes a custodial sentence, it shall—
(a)in a case not falling within paragraph (3), state in open court that it is of the opinion referred to in paragraph (2) and why it is of that opinion; and
(b)in any case, explain to the offender in open court and in ordinary language why it is passing a custodial sentence.
(5) A magistrates' court shall cause a reason stated by it under paragraph (4) to be specified in the warrant of commitment and to be entered in the Order Book required to be kept under rule 19 of the Magistrates' Courts Rules (Northern Ireland) 1984 (No. 225).