Charles V, Holy Roman Emperor was granted his position by the pope.
The position of Holy Roman Emperor was inherited through a monarchy; despite the title "Holy," the position was not granted by the pope.