Which council was that? It wasn’t a Catholic council.
The Catholic council was okay with the theory, which was first put forward by a Catholic priest (Nicholas Copernicus) and it was widely circulated but not published until 1543. Pope Leo X was had no problem, so long as it was correctly presented as a theory and not an indisputable fact as there was no evidence at the time to support it. In about 1610, Galileo after studying the Copernican theory started teaching it as fact (without evidence). In February 1616, a council of theological advisers to the pope ruled that it was possibly heresy to teach as fact that the sun, rather than the Earth, was at the center of the universe, and that the Earth rotated on its axis. Galileo was not condemned, but Cardinal Robert Bellarmine was asked to convey the news to Galileo, advise him of the panel’s ruling, and order him to cease defending his theories as fact. He also asked him to avoid any further inroads into discussion of scriptural interpretation. Galileo agreed but later renegaded. In 1633, Galileo was found (by 7 cardinals) to be “vehemently suspected of heresy” in teaching as truth that the Earth moves and is not the center of the world. He was found guilty in persisting in such teaching when he had been formally warned not to do so in 1616.
Source:
catholic.com/magazine/articles/the-anti-catholic%E2%80%99s-trump-card
We learn something new every day.