No. I don't think what Sherlock told Phillip was true. You know Sherlock. I'd think he'd always take the simplest option out. Mycroft just used his power to get rid of John's sniper? Why wouldn't he do that for the others as well? It would have saved a lot of trouble. A Sherlock corpse that was replaced by the real Sherlock? First, there was no blood on the corpse, and if Sherlock had the "window-dressing" done on him while he was lying down, he could've just started off there. And in that case, why not just use the corpse. Sherlock wouldn't overcomplicate things, would he? But wait, if he did just want it to be more complicated, Molly still wasn't a key part as the corpse wasn't needed.
In fact, I'm questioning whether that encounter was real or not. I've been trying to figure out when it happened. And it's almost impossible that it happened before Sherlock and John were with the bomb. Sherlock knew it was a plot to blow up parliament, he said so himself, by which time, he had figured most of it out. Sherlock would waste no time. So if that were the case, why would Sherlock visit Anderson of all people. So that leaves 3 possibilities as I see it:
A) It's not real
It took place after the events on the train
C) The scene is more important than we think