Galileo was justly imprisoned for breach of contract. It was his actions, not his ideas that got him into trouble.
Galileo was commissioned by the Church to investigate helioceotricism and to submit a report for consideration. He took the money, performed the study and then released his report to the public. Heliocentrism was a "revolutionary" (that's where we get the word) idea and any formal announcement or endoresement, either way, was going to be contentious. It had been sometimes violently contentious since introduced by Copernicus over 20 years before Galileo's birth. Galileo caused a lot of problems with his disclosure that could have been prevented had the work been more delicately introduced. The whole issue has been a distorted Protestant polemic cause since it occurred.
Peace be with you
So,
The messenger just didn't say it right ... right?
Like a democrat ?