Briefs from opponents of same-sex marriage, including one from 17 states, are studded with references to the aftermath of the abortion decision and to Justice Ginsburg’s critiques of it. They say the lesson from the Roe decision is that states should be allowed to work out delicate matters like abortion and same-sex marriage for themselves.

“They thought they were resolving a contentious issue by taking it out of the political process but ended up perpetuating it,” John C. Eastman, the chairman of the National Organization for Marriage and a law professor at Chapman University, said of the justices who decided the abortion case. “The lesson they should draw is that when you are moving beyond the clear command of the Constitution, you should be very hesitant about shutting down a political debate.”

Justice Ginsburg has suggested that the Supreme Court in 1973 should have struck down only the restrictive Texas abortion law before it and left broader questions for another day. The analogous approach four decades later would be to strike down California’s ban on same-sex marriage but leave in place prohibitions in about 40 other states.

But Theodore J. Boutrous Jr., a lawyer for the two couples challenging California’s ban, said the Roe ruling was a different case on a different subject and arose in a different political and social context. The decision was “a bolt out of the blue,” he said, and it had not been “subject to exhaustive public discussion, debate and support, including by the president and other high-ranking government officials from both parties.”

“Roe was written in a way that allowed its critics to argue that the court was creating out of whole cloth a brand new constitutional right,” Mr. Boutrous said. “But recognition of the fundamental constitutional right to marry dates back over a century, and the Supreme Court has already paved the way for marriage equality by deciding two landmark decisions protecting gay citizens from discrimination.”