If I buy a license for some software which has mandatory online license check to install (in games, for example. Steam games - or any other online store, actually, but could be non-games, anything), is it illegal to download it from some piracy website so I will always have the program working, even after the company has shutdown their servers? Because if they shut them down, I won't be able to install the software ever again because it has online license check to install it. So if I download it after buying it, I can have it forever and I could use any of the 2 installers (either the pirated one or the bought one, since I have proof of buying it somewhere).
Is this a correct thinking?
EDIT: As an example (recent one), a game of Disney stopped working because Disney didn't update certificates or something. So people couldn't install the game anymore, only use it if they already had it. Still, they bought it, so in theory, they should have it forever since they payed for it. So when Disney doesn't update the certificates (or whatever was the problem - I don't remember well) anymore because it's too old or any other reason, no one will be able to install it without downloading a pirated version. For sure this must have happened more times, but this recent example came to my mind (months ago I heard about it).
Thank you in advance!