A New York state court on Monday ruled that an executive order of New York City Mayor Eric Adams’ administration that allowed for a U.S. Immigration and Customs Enforcement office at Rikers Island is “illegal,” pointing to Adams’ escape of federal corruption charges days ahead of the order being issued.