An effort to stop New York state from enforcing its new law that will allow undocumented immigrants to obtain driver’s licenses starting next week was rejected by a federal judge in Albany, who said county clerks wouldn’t be harmed by the measure.

U.S. District Judge Gary Sharpe of the Northern District of New York on Friday threw out a legal challenge against the measure brought by Rensselaer County Clerk Frank Merola.