BOSTON (AP) — A U.S. immigration official says Massachusetts’ highest court put communities at risk when it ruled that police do not have the authority to detain people suspected of being in the U.S. illegally.

The Supreme Judicial Court ruled Monday that Massachusetts police officers do not have the power to arrest someone not facing criminal charges, even if federal authorities have requested their detention.

READ MORE: Local Researchers Test COVID Samples To Determine Prevalence Of Omicron Variant In Massachusetts

C.M. Cronen, the U.S. Immigration and Customs Enforcement field office director in Boston, says in a statement: “This ruling weakens local law enforcement agencies’ ability to protect their communities.”

READ MORE: Amid Concerns Over Omicron COVID Variant, CDC Says All Vaccinated Adults Should Get Booster Shots

He says ICE is reviewing the decision to determine its next steps.

The decision came in the case of Sreynuon Lunn, who was detained by court officers in February even though criminal charges against him had been dismissed.

MORE NEWS: Omicron Variant: Dr. Mallika Marshall Explains What's Known And What's Not

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)