You forgot to mention the part where Galileo "misbehaved"; that was the point of disagreement.
When the disagreement became "ugly" it became so on both sides.
Again, I am not claiming moral equivalence between the two. I put a far greater responsibility for good behavior on the Church than on any individual.
Shalom.