But they had a readable contract and it wasn't a bug but a backdoor.
If we took this take into your analogy this would be a scam artist solicitating funds and having a contact cause that has a loophole. Investors signed without reading and loose their money.
A judge could only rule after the fact and if the scammers left the country with the money the ruling wouldn't bring the investor's money back.