When Galileo explained the scientific method, he condemned consensus:
The testimony of many has little more value than that of few, since the number of people who reason well in complicated matters is much smaller than that of those who reason badly. If reasoning were like hauling I should agree that several reasoners would be worth more than one, just as several horses can haul more sacks of grain than one can. But reasoning is like racing and not like hauling, and a single Barbary steed can outrun a hundred dray horses
Peer review is consensus. Consensus is religion, not science. Peer review works as depicted in this excellent cartoon: Click on the snippet of the cartoon to see the full cartoon.
Observe the priestly robes worn by the scientists