I don't disagree, and "blockchain" as used sort of is misleading because at this point their are many solutions within the blockchain technologies and it is still rapidly evolving.
>If a court says your ex owns half of the shares in $WALLET, but the blockchain doesn’t, and $COMPANY which issued the shares is also subject to the whims of the court, then what are we to do about this?
You could hold a non-complying party in jail/contempt of court for one, this happens with real world assets that do not get turned over now.
But again there are implementation of blockchain solutions, where say the Company that issued shares did so on a smart contract and with a Court order they could burn half the tokens/stock in the wallet mint that same number and transfer them to the wife per the Court order.