The probate judge shall order one or more persons or law enforcement officers to convey any respondent involuntarily committed for inpatient treatment to the department or to a designated mental health facility as the court may order, and all necessary expenses incurred by the persons or officers conveying the respondent shall be taxed as costs of the proceeding.