Lots of things aren't illegal... unless you do them for illegal purposes.
I doubt antitrust would get anywhere on this RAM issue, but antitrust law is not defined in terms of either of those categories.