The U.S. Court of Appeals for the Second Circuit has ruled that a Queens detective was shielded from claims of malicious prosecution, despite his failure to inform a grand jury about problems with a witness’ identification of a suspect in the 2007 robbery of a sporting goods store.

The ruling, issued Tuesday, reversed a 2017 decision by U.S. District Judge Jack B. Weinstein of the Eastern District of New York, which denied NYPD Detective Fortunato Tranchina’s motion for summary judgment and allowed the case to proceed to trial.