(1) If the defendant is arrested in the county in which the warrant issued, the defendant shall be taken before the magistrate who issued the warrant, or, if the magistrate is absent or unable to act, before the nearest or most accessible magistrate in the same county; but if the defendant is arrested in another county and the crime charged in the warrant is a misdemeanor, the officer shall, upon being required by the defendant, take the defendant before a magistrate of that county, who shall make a release decision as provided in ORS 135.230 to 135.290. The officer shall at the same time deliver to the magistrate the warrant with the return of the officer indorsed and subscribed by the officer.(2) After making the release decision, the magistrate shall certify that fact on the warrant and return the warrant and release agreement or security release to the officer having charge of the defendant. The officer shall then discharge the defendant from arrest and without delay deliver the warrant and release agreement or security release to the clerk of the court in the other county at which the defendant is required to appear.(3) If the defendant is to be released and does not agree to the release agreement, or a security deposit is not forthwith given, the officer shall take the defendant before the magistrate who issued the warrant or some other magistrate in that county, as provided in this section, together with the warrant.