40. When any offence is committed in the presence of a Magistrate within the locai limits of his jurisdiction he may himself arrest or order any person to arrest the offender and may thereupon, subject to the provisions herein contained as to .bail, commit the offender to custody. *Offence committed in the presence of Magistrate.*