If the breach of contract is by the seller, then how does that result in illegality on the part of the buyer?
But just like buying counterfeit goods, it is not clear to me, I mean if you buy your key from AliExpress, isn't it like importing counterfeits from China? That's something one should ask a lawyer. Anyways, these keys can be revoked any moment (and it has happened to me, with an Office key). If I had a business, I would avoid them for that reason alone.
But I am not a lawyer, perhaps on this case that doesn’t matter.