If a court imposes a sentencing alternative authorized under section 1502 that includes a period of probation, upon the request of the Department of Corrections, the court shall attach as a condition of probation an electronic monitoring fee, a substance testing fee or both, as governed by section 1807, subsection 7.