Based on the teaching of Trent this particular decision of the Holy Office on the matter of a moving sun around the Earth is infallible.
The Church is the interpreter of Scripture and the authority on what has been taught by the Fathers. We do not get to decide that the Church has taught something wrong because it does not match our ideas on these things. We cannot say that a body that normally lacks the authority to make infallible statements, somehow made one because we agree with its reasoning.
Pius VII has the authority to say that Paul V was wrong. I do not have the authority to say that Pius VII was wrong. Therefore I go with the assumption that he was correct.
I don't know why there were popes disagreeing on this. I have already explained my best guess. Even if that guess is incorrect, I am not going to decide that Pius VII was wrong. That just isn't an option that I am not prepared to consider, no matter what quotes you present. You are one of the posters whom I respect the most here, but even you cannot persuade me to resolve the apparent contradiction the way that you have.