It's quite a bit more complicated than that.
How does your link on the history of Galileo's conflict with the church counter my point that "when religion and science have tangled, science has always won"?
Galileo was correct. The historical details are irrelevant to my first point that the Catholic church has a black eye over the incident, and is seen as having been factually incorrect.
When religion chooses to tangle with science, religion loses. It will again, but it will be the fundamentalists that have the black eye. The Catholics will escape damage, because they've staked out a non-confrontational stance vs. evolution.