All court cases come to trial after the fact. The first time the issue was presented to the Supreme Court, they ruled secession to be null and void, and the secessionists to be engaged in treason.
You can argue that the secessionists had a right to revolution, but you cannot argue that there was a basis in U.S. law, because the record simply won't support it.
Walt