The order may be made at the time of the issuing of the summons or afterwards but before the judgment. It shall require a peace officer to immediately arrest the defendant and to hold the defendant to bail in the amount specified.