The Civil War made succession illegal. The post-war legalities just tidied things up.
Then again, the United States was founded on illegal activity punishable by death (i.e. rebellion) so we have a long history of showing due regard for such imperial pronouncements.