The controversial Green Light Bill has seen multiple legal challenges since it was signed by Gov. Andrew Cuomo in June.

Attorney General Letitia James will be defending that law in court. She is confident the two-month-old law allowing undocumented immigrants to apply for and receive driver’s licenses will survive challenges in federal court.

“New York is a sovereign state and two, driver’s licenses are the function of states,” James said. “It’s important to understand 11 states, including the District of Columbia, have driver’s licenses for undocumented immigrants. They’ve all [withstood] challenges, and I’m confident this law will withstand a challenge.”

The challenges were filed last month by two county clerks who oversee local motor vehicle offices. Several county clerks in New York have said they will refuse to issue licenses to anyone they believe is in the country illegally.

In an exclusive interview with Spectrum News, James said she’s focused on the legal defense when asked if those clerks should be removed from office by the governor.

“The issue is really enforcing the law in the state of New York, and my job is to defend the law in the state of New York,” James said. “I will defend the Green Light law. For me, it’s an issue of safety.”

One of those county clerks challenging the law is Democrat Mickey Kearns of Erie County, who said the measure is unconstitutional. He says several of his fellow county clerks agree.

“Many of them are concerned. They don’t want to violate the law. They want to do their jobs,” Kearns said.

Kearns is seeking a temporary halt to the law being enacted through a preliminary injunction.

“A preliminary injunction would say, ‘let’s take a break,’ ” Kearns said. “Let’s take a break, stop writing the regulations, let’s stop until we can get a ruling on this one way or the other.”

Meanwhile, James is also confident the law won’t be used by the federal government to gather information on undocumented immigrants and that there’s enough safeguards in place to prevent that.

“It only allows individuals who have judicial subpoenas to gather information,” James said. “We are confident that the information of undocumented immigrants as well as New Yorkers as a whole will be protected.”

The Green Light Law is set to take effect by the end of the year.