When a person sentenced to socio-judicial supervision including a treatment order is to undergo a custodial sentence, he or she shall serve this sentence in a prison provided for by the third paragraph of article 717-1 and enabling him or her to receive appropriate medical and psychological supervision.
She is immediately informed by the sentence enforcement judge of the possibility of undergoing treatment. If she does not agree to undergo treatment, this information is renewed at least once every year.
In the event of suspension or splitting of the sentence, placement outside without supervision or a semi-liberty measure, the obligations resulting from the socio-judicial supervision are applicable.