In 1692 in OTL, Joseph Ferdinand of Wittelsbach is born; with the succession to the throne of Spain shaky, with Charles II too ill to produce an heir, Europe pins their hopes on him, what with him not only being descended from the Austrian Habsburgs, but also of a house that isn't as powerful as the Bourbons or Habsburgs. Now, in 1698, England and France conclude a partition treaty, with Joseph Ferdinand being heir presumptive to most of Spanish Europe save Italy, where Austria gets Milan and France the rest of Spanish Italy. Charles II updates his will, naming Joseph Ferdinand as heir to the entirety of Spanish Europe. However, Joseph Ferdinand dies in 1699, upon which a second partition treaty gives the Spanish territories save Italy and Lorraine to a younger son of Charles VI, and the rest to France. However Charles II defies this treaty and names Philip, Louis XIV's grandson, his heir, before dying, ultimately igniting the War of the Spanish Succession.
Now, what if Joseph Ferdinand does not die in childhood? (And why am I asking about prematurely dead royals living longer?
Now, what if Joseph Ferdinand does not die in childhood? (And why am I asking about prematurely dead royals living longer?