23. The Magistrate before whom a prosecution for any offence under this Act has been instituted may, if he thinks fit, direct that the animal, in respect of which the offence is alleged or proved to have been committed, shall be sent for treatment and care to an infirmary appointed under section 14.