You are mistaken as to the nature of the Holy Roman Empire: http://en.wikipedia.org/wiki/Holy_Roman_Empire
As I said, the Emperor's authority derives from the Pope - the later arrangement with the "Electors" was Papally endorsed, tacitely at least, because all temporal monarchs derive their authority ultamately from God.
Bookmarks