Found the details on it all, so this may help:
First per https://en.wikipedia.org/wiki/Hannah_Dugan :
Some information on the differences:
www.motionlaw.com
ANd New York State is an example of one of the states that forbids it:
First per https://en.wikipedia.org/wiki/Hannah_Dugan :
They had an administrative warrant, not a judicial warrant. This does not allow them to make arrests in a courthouse in some states(unsure if Wisconsin is one of those), but ICE has been doing so regardless, in other cases it seems.On April 18, 2025, U.S. Immigration and Customs Enforcement (ICE) issued an arrest warrant for Eduardo Flores-Ruiz, a 30-year-old Mexican immigrant accused of misdemeanor battery, who was set to appear in court before Dugan.[6] According to the Milwaukee Journal Sentinel, Chief Milwaukee County Circuit Judge Carl Ashley notified Dugan of this arrest via email, to which Dugan responded saying "a warrant was not presented in the hallway on the sixth floor".[7] According to a court affidavit supporting the judge's arrest, Dugan was "visibly angry" when she learned that ICE agents were waiting outside her courtroom to arrest Flores-Ruiz. She then allegedly confronted the agents in the hallway, asked if they had a judicial warrant, and instructed them to speak to the court's chief judge after they informed her that they had an administrative warrant to detain Flores-Ruiz. While the agents were away, Dugan postponed Flores-Ruiz's hearing and directed him and his lawyer to leave through a private jury room exit instead of the public entryway.[8][9] Flores-Ruiz then left the building and engaged in a foot chase with ICE agents, who arrested him near the intersection of W. State Street and 10th Street.[10] Flores-Ruiz is being held at the Dodge Detention Facility in Juneau.[11]
Some information on the differences:

The Difference Between Judicial and Administrative Warrants | Motion Law
Understand The Difference Between Judicial and Administrative Warrants. Contact Motion Law today if you have any quesitons about immigration!

ANd New York State is an example of one of the states that forbids it: