CHICAGO (AP) — A former Chicago police detective is being forced by a judge to testify under oath about allegations that he beat two men into confessing to a 1998 double murder they say they did not commit.

The Chicago Sun-Times reports that Judge James Obbish on Wednesday ordered Reynaldo Guevara to take the witness stand in October to answer questions about his interrogation of Gabriel Solache and Arturo DeLeon-Reyes. Guevera has asserted his 5th Amendment right against incriminating himself and refused to answer questions but judge ordered him to testify after prosecutors granted him immunity.

Guevara's handling of various investigations has come under scrutiny and at least three men convicted of murder in cases he was involved with have been released from prison amid allegations that Guevara coerced witnesses and concealed evidence.