NEW YORK (CBSNewYork) — Court officers in the New York State court system have been ordered to cooperate with Immigration and Customs Enforcement agents.

The directive was sent by Dennis Quirk, the head of the State Court Officers Union, WCBS 880’s Myles Miller reported.

READ MORE: DEP Says New York City Tap Water Might Smell, Taste Different Because Of Different Supply Systems

Quirk argued that courts are public buildings and that anyone has access, with the exception of a judge’s courtroom. 

Advocates have been pushing for state courts to bar ICE agents from making arrests after local court proceedings.

READ MORE: 16-Year-Old Isaiah Levine Killed In Double Shooting On Lower East Side, Second Victim In Hospital

Mayor Bill de Blasio has instructed New York City schools to block ICE agents from entering.

“If ICE agents come to a school they will be kept outside the building while the school’s staff assessed the situation, get NYPD assistance and consult with appropriate city legal authorities,” de Blasio said.

Barring ICE agents from court houses would require legal action from state legislature.

MORE NEWS: Robert Durst Hospitalized With COVID-19, His Lawyer Says

State Attorney General Eric Schneiderman has argued that state employees don’t have to comply with ICE orders.