A Manhattan federal judge held Friday that prosecutors are required to turn over to the defense allegations of misconduct by testifying officers in criminal cases, setting up a conflict between New York state and federal law.

The ruling, from U.S. District Chief Judge Colleen McMahon of the Southern District of New York, rejected a determination by the New York state’s highest court, which held that prosecutors’ disclosure obligations under Brady v. Maryland did not extend to inquiring about unrelated civil lawsuits filed against police officers who may be called to testify against defendants in criminal trials.