I hope someone can recall the details.
There's a story that chazal said something is a certain way, they were told that science says otherwise, so they paskened according to that.
Then it was nigaleh that the way they said originally was correct, but they stuck with their later psak