A federal judge has ordered the production of e-mails discussing the legality of Erie County’s inmate strip search policy, finding they were not protected by the attorney-client privilege.

Western District Judge John Curtin said 10 e-mails must be produced in a prisoner civil rights claim because they go to the heart of the lawsuit and the privilege has therefore been waived.