.”, (c) after subsection (2) insert— “(3) In subsection (1A)(a), “relevant diet” means a diet of the court relating to the offence with which the person is charged— (a) of which the person has been given due notice, or 10 (b) at which the person is required by this Act to appear.”. 1 3 Removal of restriction on bail in certain solemn cases Section 23D of the 1995 Act (restriction on bail in certain solemn cases) is repealed. 4 Refusal of bail: duty to state and record reasons (1) Section 24 of the 1995 Act (bail and bail conditions) is amended as follows. 15 (2) After subsection (2A) insert— “(2AA) Where the court refuses bail in any proceedings in which a person is accused of an offence, it must— (a) state in particular— (i) the grounds on which it determines, in accordance with section 20 23B(1A), that there is good reason for refusing bail, (ii) if refusing bail solely on the ground specified in section 23C(1)(a) (substantial risk of absconding or failing to appear), its reasons for considering under section 23B(1A)(b) that it is necessary to do so, and 25 (iii) its reasons for considering under section 23B(1A)(b) and (2) that either it would not be appropriate to impose on the accused bail conditions subject to a requirement to submit to monitoring in accordance with Part 1 of the Management of Offenders (Scotland) Act 2019 (electronic monitoring) or that doing so would not 30 adequately safeguard the interests of public safety or justice as mentioned in section 23B(1A)(b)(i) or (ii), and (b) have the grounds mentioned in paragraph (a)(i) entered in the record of the proceedings.”. (2A) In subsection (2B)(a), for the words from “a sexual offence” to “Act)” substitute “an 35 offence falling within subsection (2C)”. (2B) After subsection (2B) insert— “(2C) An offence falls within this subsection if it is— (a) a sexual offence (having the meaning given by section 210A(10) and (11)), 4 Bail and Release from Custody (Scotland) Bill Part 1—bail (b) an offence under section 1(1) of the Domestic Abuse (Scotland) Act 2018, (c) an offence that is aggravated as described in section 1(1)(a) of the Abusive Behaviour...