At the time of Galileo the Church remained much more reasonable than Galileo himself. The process against Galileo was reasonable and just.
Pope Benedict XVIOver the pope as expression of the binding claim of ecclesiastical authority, there stands one's own conscience which must be obeyed before all else, even if necessary against the requirement of ecclesiastical authority.
Pope Benedict XVISaint Paul asks his disciple Timothy to "aim at faith" (2 Tim 2:22) with the same constancy as when he was a boy (cf. 2 Tim 3:15). This invitation is directed to each of us, that none of us grow lazy in the faith. It is the lifelong companion that makes it possible to perceive, ever anew, the marvels that God works for us.
Pope Benedict XVI