Jake Miller, 30, and Craig Bowen, 35, right, kiss after being married by Marion County Clerk Beth White, center, in Indianapolis, Wednesday, June 25, 2014.

Updated: 10:00 p.m. CDT

CHICAGO — A U.S. appeals court issued a scathing, unequivocal ruling Thursday declaring that gay marriage bans in Wisconsin and Indiana were unconstitutional, on the same day that 32 states asked the Supreme Court to settle the issue once and for all.

The U.S. 7th Circuit Court of Appeals in Chicago was the fourth to hear arguments on the issue. The decision from a normally slow and deliberative court was released a little more than a week after oral arguments.

The unanimous, 40-page decision from a three-judge panel blasted the states’ justifications for their bans, several times singling out the argument that only marriage between a man and a woman should be allowed because it’s – simply – tradition.

There are “bad traditions that are historical realities such as cannibalism, foot-binding, and suttee, and traditions that … are neither good nor bad – such as trick-or-treating on Halloween,” the ruling says. “Tradition per se therefore cannot be a lawful ground for discrimination – regardless of the age of the tradition.”

It also laid into another argument from the states that gays should not be allowed to marry because, on their own, they can’t procreate, saying that rationale “is so full of holes that it cannot be taken seriously.”

Also Thursday, Massachusetts and 14 other states where same-sex marriage is legal filed a brief asking the justices to overturn other states’ bans on gay marriage. Meanwhile, Colorado and 16 other states that have banned same-sex marriage filed a separate brief asking the court to rule one way or the other to clear up a “morass” of lawsuits.

Since last year, the vast majority of federal rulings have declared same-sex marriage bans unconstitutional. Supreme Court justices typically take up issues only when lower courts disagree. But in this case, states are asking the court to settle the issue nationwide once and for all.

The Wisconsin and Indiana cases shifted to Chicago after the states appealed lower court rulings tossing the bans.

The court’s decision won’t take effect for at least 21 days, said Camilla Taylor, a lawyer for Lambda Legal who argued on behalf of Wisconsin plaintiffs. That should give the states time to ask the Supreme Court to put it on hold, she said.

Between the bans being struck down and a 7th Circuit order reinstating them as the appeals process ran its course, hundreds of gay couple in both states rushed to marry.