Before the expiry of the time limit set by the judge pursuant to article R. 249-27, the prison administration shall take any measure it deems appropriate to put an end to the conditions of detention in question.
To this end, it may propose that the detainee be transferred to another prison.
Where the detainee is imprisoned in execution of a custodial sentence, the prison administration shall ensure that the proposed transfer does not excessively interfere with the right to respect for family life, having regard to the place of residence of the detainee’s family.
When the detainee is remanded in custody, the transfer may only be decided with the agreement of the magistrate to whom the case file is referred pursuant to Article 715.
If the detainee accepts the proposed transfer, it shall be carried out as soon as possible.