The Acting Immigration and Customs Enforcement Director, Thomas Homan, believes that it is because of a recent ruling from the 9th Circuit Court of Appeals that San Antonio, Texas area has seen a sharp rise in the number of family units and unaccompanied minors coming across the border in the last few months, reports The Washington Examiner.

“I think the uptick right now is on the family units, especially the family units and the UACs. And that uptick is because of the loopholes in the system and some of the decisions by the 9th Circuit,” Homan told the Washington Examiner at the Border Security Expo in San Antonio, Texas, Wednesday.

“When you get a recent court decision saying you can only detain a family for so many days, when there’s constant repeals and temporary restraining orders, people seeing the administration getting their hands tied, they see it as an opportunity,” he added. “I think that’s more of a driving factor in the recent populations.”

The court decision he is referring to is in last July the 9th Circuit Court of Appeals upheld a 1997 lawsuit settlement that guaranteed court hearings for unaccompanied minors and created a policy that favored their release.

Homan has seen that whenever amnesty is being discussed in the U.S., border agents can expect to see an increase in the number of migrants being apprehended near the southwest border.

However, family units and unaccompanied minors are treated differently than illegal immigrant adults who are caught at the border. Children and families from noncontiguous countries are detained and sent through immigration proceedings so a judge can determine if they are refugees. That policy is part of the Trafficking Victims Protection Reauthorization Act, reports The Washington Examiner.

Homa believes that immigrants coming from South America are aware of this exception and are willing to risk the trek to the U.S. and surrender to law enforcement to possibly get that amnesty.

“There’s anecdotal information that whenever you talk about amnesty or give them some sort of benefit, that does drive immigration, illegal immigration. It’s anecdotal. I haven’t seen any data to support that, but I know based on my 34 years of experience, every time we talk about something like that, people are going to try to get in, game the system. I don’t think there’s a surge, but I think you’ll see an uptick based on what I’ve seen in the past,” he added.

In October, the first month of Fiscal Year 2018, Customs and Border Protection reported a 45 percent increase in the number of family units apprehended at the border.

The ICE officer also believes that the appeal of sanctuary cities and states is enabling more migrants to cross the border as well.

“All this adds to it. The more they hear about sanctuary cities, the more they’re saying, ‘Look, if we get into the country illegally, get by the Border Patrol, or even get caught by the Border Patrol,'” he said.

“When you’re going to your proceedings, you get released from your detention, the thought of getting to a sanctuary city, like get to San Francisco, you can even get arrested for committing a crime and they’re not going to work with ICE and they’re going to help shield you from federal law enforcement. That’s a huge selling factor for someone who wants to come to this country illegally,” Homa said.

Homan was in high demand by the press at Wednesday’s event after delivering a fiery speech defending ICE officers whose jobs it is to track down and deport illegal immigrants earlier in the day.

Homan blasted Congress for its decadeslong failure to fix the root causes of illegal immigration and warned against diving Democrats an extension of the Deferred Action for Childhood Arrivals (DACA) program without real border security measures.