Plaintiffs counsel for a class of 9,000 Connecticut inmates used the Department of Correction's own policies and procedures against it in securing a $40 million agreement over two years to have every inmate tested and treated for the hepatitis C virus.