The announcement comes at a time of crisis for the prison system, which is close to maximum capacity.