All substance use disorder treatment programs operated by the commissioner of corrections to treat individuals committed to the commissioner's custody or to treat juveniles in state-operated juvenile correctional facilities that have a correctional program services certification per Minnesota Rules, chapter 2960, must comply with the standards mandated in chapter 245G for treatment programs operated by community-based treatment facilities. When the commissioners of corrections and human services agree that these established standards for community-based programs cannot reasonably apply to correctional facilities, alternative equivalent standards shall be developed by the commissioners and established through an interagency agreement.