TRENTON, N.J. — New Jersey’s top court has ruled that prosecutors can’t be required to make witnesses available for cross-examination at detention hearings for criminal suspects.

The decision announced Tuesday upholds an appellate court ruling issued earlier this year. It stems from the Jan. 1 arrest of Amed Ingram on gun possession charges in Camden.

Under bail reform measures that took effect this year, state judges now decide whether suspects will be freed or remain in custody pending their trials.

Ingram’s lawyers had argued that they should have been able to cross-examine the officer who arrested him before a judge decided whether he would be detained.

But the appellate court found that the police report and other documentary evidence were sufficient for the detention hearing.