I think that Gallileo is a good example of my point , but Bruno is an even better one and one that Gallileo would have known about.
The Church was defending the truth , as far as they knew.
In particular Bruno held firm to his belief in the plurality of worlds, although he was admonished to abandon it. His trial was overseen by the inquisitor, Cardinal Robert Bellarmine, who demanded a full recantation, which Bruno eventually refused. Instead he appealed in vain to Pope Clement VIII, hoping to save his life through a partial recantation. The Pope expressed himself in favor of a guilty verdict. Consequently, Bruno was declared a heretic, handed over to secular authorities on February 8, 1600. At his trial he listened to the verdict on his knees, then stood up and said: "Perhaps you, my judges, pronounce this sentence against me with greater fear than I receive it." A month or so later he was brought to the Campo de' Fiori, a central Roman market square, his tongue in a gag, tied to a pole naked and burned at the stake, on February 17, 1600.
http://en.wikipedia.org/wiki/Giordano_BrunoIn 1612, opposition arose to the Sun-centered solar system which Galileo supported. In 1614, from the pulpit of Santa Maria Novella, Father Tommaso Caccini (1574–1648) denounced Galileo's opinions on the motion of the Earth, judging them dangerous and close to heresy. Galileo went to Rome to defend himself against these accusations, but, in 1616, Cardinal Roberto Bellarmino personally handed Galileo an admonition enjoining him neither to advocate nor teach Copernican astronomy.[2] In 1622, Galileo wrote his first book, The Assayer (Saggiatore), which was approved and published in 1623. In 1624, he developed the first known example of the microscope. In 1630, he returned to Rome to apply for a license to print the Dialogue Concerning the Two Chief World Systems, published in Florence in 1632. In October of that year, however, he was ordered to appear before the Holy Office in Rome.
http://en.wikipedia.org/wiki/Galileo_GalileiGalileo made at least one major scientific error, in addition to opposing Kepler's hypothesis that the gravity of the moon is the origin of the tides. This was his view on the origin of the comets of 1618. He argued vehemently in The Assayer that they were an optical illusion, in opposition to the interpretation of the Jesuit Orazio Grassi that they were real, and quite distant from the Moon. His alienation of both Scheiner and Grazzi likely contributed to the hostile response of the Jesuit order to his publication of "Dialogue Concerning the Two Chief World Systems" in 1632, and the inquisition that followed.
Cardinal Bellarmine had written in 1615 that the Copernican system could not be defended without "a true [physical] demonstration that the sun does not circle the earth but the earth circles the sun".[7] Galileo considered his theory of the tides to provide the required physical proof of the motion of the earth. This theory was so important to Galileo that he originally intended to entitle his Dialogue on the Two Chief World Systems the Dialogue on the Ebb and Flow of the Sea.[8] For Galileo, the tides were caused by the sloshing back and forth of water in the seas as a point on the Earth's surface speeded up and slowed down because of the Earth's rotation on its axis and revolution around the Sun. Galileo circulated his first account of the tides in 1616, addressed to Cardinal Orsini.[9]
If this theory were correct, there would be only one high tide per day. Galileo and his contemporaries were aware of this inadequacy because there are two daily high tides at Venice instead of one, about twelve hours apart. Galileo dismissed this anomaly as the result of several secondary causes, including the shape of the sea, its depth, and other factors.[10] Against the assertion that Galileo was deceptive in making these arguments, Albert Einstein expressed the opinion that Galileo developed his "fascinating arguments" and accepted them uncritically out of a desire for physical proof of the motion of the Earth.[11]
Galileo dismissed as a "useless fiction" the idea, held by his contemporary Johannes Kepler, that the moon caused the tides.[12] Galileo also refused to accept Kepler's elliptical orbits of the planets,[13] considering the circle the "perfect" shape for planetary orbits.