Courts in Florida and New York are grappling with similar cases involving immigrants seeking to become lawyers, and Robert M. Morgenthau, the former district attorney of Manhattan, has urged New York’s governor and Legislature to pass a law like California’s.

And while California has gone farther than many others, several states have begun to expand opportunities for immigrants living here illegally, after a wave of laws passed several years ago in Alabama, Arizona and Georgia and other states to crack down on illegal immigration. Unauthorized immigrants can receive in-state college tuition in several states, and 11 states and the District of Columbia now allow such immigrants to obtain some kind of driver’s license, according to the National Immigration Law Center.

Mr. Garcia, in a telephone interview, said he felt that despite the ambiguities, he would be free to open his own practice. “I can finally fulfill my dream and also leave behind a legacy so that an undocumented student 20 or 30 years from now will take it for granted that they can be an attorney,” he said. “There’s a lot to celebrate. I can open my own law firm, and that’s exactly what I intend to do. There’s no law in this country restricting entrepreneurs.”

In its ruling, the court said that California had paved the way for Mr. Garcia’s admission to the bar in October when the Legislature overwhelmingly passed a bill saying qualified applicants could be admitted to the state bar regardless of their immigration status. The court went on to suggest that immigration status should not be considered any differently from, say, race or religion.

“We conclude that the fact that an undocumented immigrant’s presence in this country violates federal statutes is not itself a sufficient or persuasive basis for denying undocumented immigrants, as a class, admission to the state bar,” Chief Justice Tani Cantil-Sakauye wrote in her opinion. “The fact that an undocumented immigrant is present in the United States without lawful authorization does not itself involve moral turpitude or demonstrate moral unfitness so as to justify exclusion from the state bar.”