It tends to balance out in the end. Older scientists often do tend to cling to old theories (certainly not always, just more often than younger ones with less experience and less personal stake). But no one lasts forever, and sooner or later a theory which works and gets results tends to take over.
Things are harder when the issue is not one readily subject to testing. It took a long time for the theory of plate techtonics to gain acceptance, because most scientists considered it ludicrous and flat-out harassed the theory’s creator, Mr Wegener, despite the fact he got it pretty close. It took fifty years to demonstrate good evidence for the theory, and that was only because he did get a few good disciples.
Or for that matter, Troy. Well-esablished archeologists often considered the Illiad and the Odessey little more than myth, if not a flat-out literary invention. heinrich Schliemann was (to them) a crackpot with money who wanted to dig in the dirt. Lo and behold, the man goes down to Turkey, accurately locates the appropriate site, and digs up a pile of ancient treasure, including enough evidence to support the view that 'ol Homer really was describing a real war (with some literary improvment). While he made mistakes and wasn’t particularly professional about it, Schliemann did find what he said. Berlin’s archeological society was really, really angry about this and maintained it was all a lie for a very long time.*
*When they finally came around, Kaiser Wilhelm himself held a banquet naming Schliemann as an Berlin citizen, a rare honor, to help persuade him to leave part of his collection to Berlin museums. Among other things, the menu had the bear symbol of Berlin tamely sitting at Schliemann’s feet.
However, we have to also consider that in these cases, a real and convincing demonstration was both possible, and practical with available technology. This is always going to be easier in hard sciences than inthe soft ones. Even today, people are still having fundamental arguments over Linguistics, Economics, and Psychology. Fortunately, there is more room for disagreement in those fields.