There probably wouldn't have been a ruling at all. The court itself states that Snowden was the principle catalyst for this case to ever go to court in the first place.
From the judgement:
"Americans first learned about the telephone metadata program that appellants now challenge on June 5, 2013, when the British newspaper The Guardian published a FISC order leaked by former government contractor Edward Snowden".
From the judgement:
"Americans first learned about the telephone metadata program that appellants now challenge on June 5, 2013, when the British newspaper The Guardian published a FISC order leaked by former government contractor Edward Snowden".