Los Angeles Superior Court Judge James A. Steele issued his ruling after reviewing statutes cited by prosecutors and Spears' attorney, J. Michael Flanagan.
The ruling means the singer may go on trial in October.
Steele's ruling disagreed, saying prosecutors properly charged Spears.
The case is the last remnants of a criminal case city prosecutors lodged against Spears after she hit a parked car in August 2007 and left without notifying the owner. She was originally cited for hit-and-run and driving without a license, but the hit-and-run charge was dropped.
Flanagan said Tuesday that Spears had a valid Louisiana driver's license when she was involved in an accident last year. He says she got a California license within six days of being notified of the infraction.
Steele, however, stated in his ruling that documents in other legal cases involving Spears indicate she was a California resident for 17 months before the offense. A person has 10 days after establishing residency in California to get a license, Steele's ruling states.
Flanagan did not immediately return a call seeking comment Wednesday afternoon. He said after Tuesday's hearing that he would appeal if Steele did not dismiss the case.
Britney Spears: Behind the Pop Star's New Tour, Success
Oct 15, 2009 4:00 pm PDT
TIME By BRYAN ALEXANDER / LOS ANGELES What was the craziest thing to happen to Britney Spears last week? She went to Target. Twice. She bought a CD. That was it. Sounds pretty boring for an international pop icon, but it's a great relie...
Britney does it again on singles chart
Oct 15, 2009 3:00 am PDT
Oops, Britney Spears has done it again, with the U.S. pop singer cementing her comeback with a new single, "3," rocketing to No. 1 in its debut week. Proving her popularity has not waned despite a personal and career meltdown in 2007 and ...
Probation for woman caught at Spears' home
Aug 21, 2009 2:00 am PDT
A court official says a woman found guilty of snooping at Britney Spears' house has been sentenced to three years of probation and 240 hours of community service. Los Angeles Superior Court spokeswoman Patricia Kelly says a judge in Malib...
Britney Spears shows her new figure on Letterman
Aug 19, 2009 7:00 am PDT
What would a President Spears administration be like? Apparently, very tasty. Britney Spears appeared on David Letterman's "Late Show" on Tuesday to deliver a Top Ten list of ways the country would be different if she were president. "Fr...
Britney's Warsaw stop on European tour canceled
Jul 15, 2009 8:00 am PDT
Britney Spears' "Circus" won't be coming to Warsaw following a dispute between her international and Polish organizers. The singer, whose hits include "...Baby One More Time" and "I'm a Slave 4 U," has been playing a series of shows this ...