You can't make code changes to get keys for blocks, that wouldn't work. Also, as mentioned before, when it comes to client code patches we can always refuse to update, and a majority most likely would reject in this case, effectively ignoring any court decision.
That's what makes that lawsuit frivolous. Anyone can hard-fork bitcoin. CSW has already done it himself. He can fork bitcoin and send the coins to himself. I can't think of a single case where someone has sued to have a third-party do what the first-party could do.
It's all theater. Very few would accept his fork in ANY circumstance, but more might if he can get legal pronouncements. Also certainly governments have realized by now all they have to do is "believe him" and back "Bitcoin" to ultimately take control. I honestly think he has also be shooting that angle as well.