(3)When such person is not released on bail under sub-section (1) by the Juvenile Court it shall, instead of committing him to prison, make an order sending him to an observation home or a place of safety for such period during the tendency of the inquiiy regarding him as may be specified in the order.