Justice secretary triggers Operation Safeguard to use police cells for prisoners overnight