All matters before the court are after the fact. Courts cannot issue advisory ruling on something that hasn't happened.
During the victory dance on the South.
Same old Lost Cause song-and-dance.
The point is you are saying the court ruled definitively but it was well after the war.
Secession happened well before.
You can’t say see the courts said it was illegal after the fact...