If a scientist is emotionally attached to a result and ignores a result that they don't like, they are no longer engaged in science.
Peer review and replication is the correcting factor for the unfortunate reality that science must be, for the moment carried out by humans.
At the very least, when operating properly science becomes less wrong. That cannot be said for politicians who are interested in nothing but confirmation of their preconceptions.
There is a special place in hell for those who cynically use the fact that scientists are sometimes wrong as an attack against the very existence of knowledge and consensus reality itself.