The necessary expenses of sheriffs and other peace officers incurred in conveying convicted persons and children adjudicated delinquent and committed to the custody of the commissioner of corrections to the appropriate adult or juvenile correctional facility as designated by the commissioner of corrections, including per diem and expenses of correctional officers, shall be allowed by the commissioner of management and budget and paid out of the state treasury. The commissioner of management and budget may allow and pay for the necessary expenses incurred by the sheriff, deputy, or other peace officer in going to and returning from the correctional facility and $10 per day for each correctional officer. Not more than one correctional officer shall be allowed for one prisoner, but one additional correctional officer shall be allowed for every two additional prisoners. All bills shall be in writing, fully itemized, verified, and accompanied by the receipt of the chief executive officer of the facility for the delivery of the convicted or adjudicated persons, in a form prescribed by the commissioner of management and budget.
The conveyance of prisoners to and from court in connection with postconviction, habeas corpus, or intrastate mandatory disposition of detainers proceedings shall be by the sheriff of the county in which the proceedings are to be held and at the expense of the state as provided in subdivision 1.