10. A Primary Court may, in any circumstances in which it is empowered by any written or other law to sentence an offender to imprisonment, whether in default court of payment of a fine or not, in lieu of imposing a sentence of imprisonment order that the offender be detained in the precincts of the court until such hour on the day on which the order is made, not being later than 4 p.m. as the court may specify in the order. *Sentences of detention in precincts of in lieu of imprisonment.*