Goal: A member of the House of Wettin (Albertine branch) elected Holy Roman Emperor and a member of the House of Savoy made King of Spain
POD limitations: After the Treaty of Ryswick
Available time: By 1800
This isn't exactly out of the blue - both dynasties had ambitions to the thrones in question, now forgotten because they never got anywhere near them.