In the event the offender refuses to sign the agreement to appear in court and to waive the issuance and service upon the offender of a warrant, then it shall be the duty of the officer, in whose presence the offense is committed, forthwith to place the offender under arrest and take the offender before the proper authority, procure a warrant, serve the warrant upon the offender and book the offender as in other cases of violations. The authority issuing the warrant shall take bail from the accused for appearance in court for trial, or in lieu of bail, commit the offender to jail.