Franz Joseph I of Austria
If Greater Germany was to prevail, the crown would necessarily have to go to Franz Joseph, who had no desire to cede it in the first place to anyone else. On the other hand, if the idea of a smaller Germany won out, the German crown could of course not possibly go the Emperor of Austria, but would naturally be offered to the head of the largest and most powerful German state outside of Austria—the King of Prussia. The contest between the two ideas, quickly developed into a contest between Austria and Prussia. After Prussia decisively won the Seven Weeks War, this question was solved; Austria lost no territories as long as they remained out of German affairs.
History of Austria
In 1745, following the reign of the Bavarian Elector as Emperor Charles VII, Maria Theresa's husband Francis of Lorraine, Grand Duke of Tuscany, was elected Emperor, restoring control of that position to the Habsburgs (or, rather, to the new composite house of Habsburg-Lorraine), Francis holding the titular crown until his death in 1765, but his empress consort Maria Theresa carrying out the executive functions. The Pragmatic Sanction of 1713 applied to the hereditary possessions of the Habsburgs and Archduchy of Austria but not the position of Holy Roman Emperor, which could not be held by women, thus Maria Theresa was Empress Consort not Empress Regnant.