That depends entirely on the cost of maintaining the old solution
I'm guessing that in this example, it was more expensive to switch to Linux and recertify. I doubt anyone in management was really arguing against a cheaper option because of money spent 10 years ago.