Even though the Public Company Accounting Oversight Board technically lost a Supreme Court ruling Monday, the board is likely to emerge stronger now that the element of uncertainty has been removed.

Despite the challenge to the PCAOB’s inherent constitutionality, as well as the Sarbanes-Oxley Act that first established the board back in 2002, the PCAOB will probably find itself come out relatively unscathed from the high court’s decision. In the 5-4 decision, the majority on the court found fault only with the way in which board members can be removed. Now, instead of the Securities and Exchange Commission being able to remove PCAOB members only for cause, just as SEC commissioners can only be removed for cause by the President, PCAOB board members now can be removed at will by the SEC commissioners.

That could make the jobs of the board members potentially shorter-term than they might otherwise prefer, but in the real world, it is difficult to imagine Mary Schapiro screaming, “Off with their heads,” whenever she is displeased with the latest auditing standards on engagement quality review.

Sarbanes-Oxley too has been strengthened in some ways, even with the justices striking down one of its provisions. The lawsuit by the Free Enterprise Fund and the Henderson, Nev., accounting firm of Beckstead & Watts had the potential to undo not only the PCAOB, but also many of the regulations and determinations of the board, not to mention other SOX provisions regulating the accounting profession.

However, the court took a measured approach in its decision, striking down one provision of SOX, but leaving the rest of it largely intact. The practical impact may not be far-reaching right away, although like any Supreme Court decision, it could establish a precedent for future litigation that might someday have a bigger impact on accounting regulation. In his dissent, Justice Stephen Breyer noted that it could have an impact on the job security of federal officials at other agencies as well and even administrative law judges.

For now, though, the PCAOB may have lost a decision in the Supreme Court, but it won a larger battle for its continued survival in being essentially validated in the halls of justice. The board members had to wait and hold their breath until the very end of the Supreme Court’s term to learn their fate, but they can now breathe a sigh of relief.

Their terms of employment may be slightly altered from now on, but they will still be able to keep their jobs, which as we learned during the Supreme Court hearing all those months ago, pay even better than the President’s own salary.