I am not a lawayer but illegal ? i dont think you know what this word means.
From what i could gather it was voilation of copyright law in the case op brought up (somebody made money of the product wihtout any rights).