Texas is widening investigations into aid organizations along the U.S.-Mexico border over claims that nonprofits are helping migrants illegally enter the country, taking some groups to court and making demands that a judge called harassment after the state tried shuttering an El Paso shelter.

The efforts are led by Republican Texas Attorney General Ken Paxton, whose office has defended the state’s increasingly aggressive actions on the border, including razor wire barriers and a law that would allow police to arrest migrants who enter the U.S. illegally.

This week, a judge in El Paso accused Paxton’s office of overreaching in its pursuit of evidence of criminal activity.

That ruling involved Annunciation House, whose records Paxton began seeking in February. The Catholic shelter in El Paso opened in 1978.

In a scathing ruling, state District Judge Francisco X. Dominguez said Paxton’s attempts to enforce a subpoena for records of migrants violated the shelter’s constitutional rights.

“This is outrageous and intolerable,” the judge wrote.