He was under Mycroft's protection. Mycroft warned Sherlock off him, and said something like "he's just a businessman, not a murderer, and occasionally useful." Magnussen used his influence for his own business ends, and was capable of doing deals - when he visited Baker Street that was...