in this industry, with this type of equipment, I agree that the time comes when maintenance will be more costly than investing in new technology...
...that said, paying to unlock an error code seems like a hostage negotiation, ESPECIALLY after the other events cited in the op's post.