I suppose a court could compel core devs to accept such a change, if it came to that. But how could a court compel Bitcoin node operators to run that version of the software? That's what would actually need to happen, to give someone back their coins (or rather, a version of their coins that most people actually value).
Wright could make the change himself (or get someone else to do it) because the software is open source. It's getting everyone else to run the software that matters.