"Judicial officer" in the context of the provisions of this and other chapters of this code dealing with disposition of a charge of public intoxication, means a municipal judge, a magistrate or any judge of a court of record in this state.
W. Va. Code § 27-1-17