Legislation that would codify and expand a directive from the Office of Court Administration barring federal immigration officers from making civil arrests in state courthouses without a judicial warrant gained support from New York Gov. Andrew Cuomo on Tuesday.

Cuomo said in a radio interview that he would support any lawful action by the state to limit the authority of U.S. Immigration and Customs Enforcement in New York, including the bill currently under consideration by state lawmakers in Albany.

That legislation, called the Protect Our Courts Act, would go beyond the directive issued by OCA last week by prohibiting civil arrests of undocumented immigrants in areas directly surrounding state courthouses, like sidewalks and parking lots. The OCA rule only prevents those arrests inside a physical courthouse when a federal immigration officer does not have a judicial warrant.