Take heed to yourselves and to the whole flock, wherein the Holy Ghost hath placed you bishops, to rule the Church of God which he hath purchased with his own blood.
So, what you are saying is that the church can overrule God's commandments, and allow gay priests, divorced popes, and murder for hire. There is no limit based on your premise. What a crock!
The church has the authority granted, by God, to rule within the limits of His commandments. 1 Tim 3 lays out some of those commandments. You have negated the commands of God, just as the Pharisees did.