Presumably you can imagine a somewhat stupid robot that does random scientific experiments, generating good beliefs and bad ones. Why would that invalidate the good beliefs?
Belief A has no rational basis. Belief B has a rational basis. If you believe A yet have proven B, that doesn't make B wrong. Even if believe that it was A which led you to the discovery.