the reason it's the gold standard for medicine is because the only thing that is different in aggregate between the groups is the intervention. Therefore, it is the strongest possible evidence of causality we have, and does say something about causality (rather than correlation).
It's important to replicate, but the points made by Pearl are not relevant here and the mechanism is moot when you have a causal link shown by RCT.
http://andrewgelman.com/2018/01/08/benefits-limitations-rand...
To be honest, I think a randomised clinical trial is more of a starting point than an endpoint in terms of 'knowing' that an effect is genuine. The 'gold standard' moniker overdoes the authority of the RCT a
Correlation != causation. Which is why you need to do randomized testing and try and account for other causative factors. But if you give a bunch of people a medication and they stop dying, you can pretty much say this is valuable and start giving it to people.