169 Detention in precincts of court.S
(1)Where a court of summary jurisdiction has power to impose imprisonment or detention on an offender it may, in lieu of so doing and subject to subsection (2) below, order that the offender be detained within the precincts of the court or at any police station, till such hour, not later than eight in the evening on the day on which he is convicted, as the court may direct.
(2)Before making an order under this section a court shall take into consideration the distance between the proposed place of detention and the offender’s residence (if known to, or ascertainable by, the court), and shall not make any such order under this section as would deprive the offender of a reasonable opportunity of returning to his residence on the day on which the order is made.