U.S. District Judge Virginia Phillips’ landmark ruling was widely cheered by gay rights organizations that credited her with getting accomplished what President Obama and Washington politics could not.

“This order from Judge Phillips is another historic and courageous step in the right direction, a step that Congress has been noticeably slow in taking,” said Alexander Nicholson, executive director of Servicemembers United, the nation’s largest organization of gay and lesbian troops and veterans.

He was the sole named veteran plaintiff in the case along with the Log Cabin Republicans, a gay rights organization that filed the lawsuit in 2004 to stop the ban’s enforcement.

U.S. Department of Justice attorneys have 60 days to appeal. Legal experts say the department is under no legal obligation to do so and could let Phillips’ ruling stand.

Department spokeswoman Tracy Schmaler said the government was reviewing Phillips’ ruling Tuesday and had no immediate comment.

Legal experts say government attorneys are not likely to let the ruling stand since Obama has made it clear he wants Congress to repeal the policy.

“The president has taken a very consistent position here, and that is: ‘Look, I will not use my discretion in any way that will step on Congress’ ability to be the sole decider about this policy here,’ “ said Diane H. Mazur, legal co-director of the Palm Center, a think tank at the University of California at Santa Barbara that supports a repeal.

Government attorneys had warned Phillips that such an abrupt change might harm military operations in a time of war. They had asked Phillips to limit her ruling to the 19,000 members of the Log Cabin Republicans, which includes current and former military service members.

The Department of Justice attorneys also said Congress should decide the issue—not her court.

Phillips disagreed, saying the law doesn’t help military readiness and instead has a “direct and deleterious effect” on the armed services by hurting recruiting during wartime and requiring the discharge of service members with critical skills and training.

“Furthermore, there is no adequate remedy at law to prevent the continued violation of servicemembers’ rights or to compensate them for violation of their rights,” Phillips said in her order.

She said Department of Justice attorneys did not address these issues in their objection to her expected injunction.

Phillips declared the law unconstitutional after listening to the testimony of discharged service members during a two-week nonjury trial this summer in federal court in Riverside.

She said the Log Cabin Republicans “established at trial that the Don’t Ask, Don’t Tell Act irreparably injures servicemembers by infringing their fundamental rights.” She said the policy violates due process rights, freedom of speech and the right to petition the government for redress of grievances guaranteed by the First Amendment.

Gay rights advocates have worried they lost a crucial opportunity to change the law when Senate Republicans opposed the defense bill last month because of a “don’t ask, don’t tell” repeal provision.

If Democrats lose seats in the upcoming elections, repealing the ban could prove even more difficult—if not impossible—next year.

The Log Cabin Republicans asked her for an immediate injunction so the policy can no longer be used against any U.S. military personnel anywhere in the world.

“The order represents a complete and total victory for the Log Cabin Republicans and reaffirms the constitutional rights of gays and lesbians in the military who are fighting and dying for our country,” said Dan Woods, an attorney for the Log Cabin group.

The “don’t ask, don’t tell” policy prohibits the military from asking about the sexual orientation of service members but bans those who are openly gay. Under the 1993 policy, service men and women who acknowledge being gay or are discovered engaging in homosexual activity, even in the privacy of their own homes off base, are subject to discharge.