It was the Pope who decides Catholic doctrine.
It was based upon “And HE set the foundations of the Earth so that it should not be moved forever” that the Pope decided, not anything scientific.
Are you trying to say the scientific “establishment” of the day was Pagan?
Much of the science being done was by clergy, they were not Pagan but men who held God foremost in their hearts, and the findings of science led most of them inexorably to the conclusion that the Earth orbits the Sun and that any untoward extrapolation of scripture trying to claim the Earth didn’t move was exactly that.
==Are you trying to say the scientific establishment of the day was Pagan?
Nope. But they allowed a pagan understanding of our Solar System/Universe to dictate church doctrine in much the same way that the Catholic church is allowing nature worshiping Evos to dictate church doctrine with respect to Darwin’s atheist creation myth today.