A lawsuit challenging New York’s new law allowing undocumented immigrants to obtain driver’s licenses was thrown out by a federal judge Friday after she said Erie County Clerk Michael Kearns failed to show the statute will harm him.

That doesn’t mean the state’s legal troubles over the new law are done—another lawsuit in Albany from Rensselaer County Clerk Frank Merola is still pending in federal court.