In the early 1800s, Spain posed a significant geopolitical threat to British interests, not because of its own expansionist ambitions, but due to its binding alliance with Napoleonic France. The 1796 Treaty of San Ildefonso effectively turned the Spanish Empire into a junior partner of France, aligning Madrid's vast global resources against London during the Revolutionary and Napoleonic Wars.
Spain remained a formidable maritime power. Its navy, combined with French fleets, threatened to challenge British command of the seas. Moreover, Spain's extensive colonial holdings in the Caribbean and South America provided strategic bases from which Franco-Spanish forces could disrupt British trade convoys and threaten valuable colonial commerce.
Spain's control of the massive Louisiana Territory—stretching from the Mississippi River to the Rocky Mountains—added a North American dimension to the threat. If France could leverage Spanish territory to support its own ambitions in the continent, British interests in Canada and the lucrative fur trade would be directly endangered.
Spain's strategic position in the Mediterranean, including control of the Balearic Islands and influence in parts of Italy, allowed it to threaten British naval dominance in that critical theater. Spanish ports and fortifications could serve as forward operating bases for French operations, complicating Royal Navy logistics and the defense of British interests in Gibraltar and beyond.
The dynamic shifted dramatically in 1808 when Napoleon turned on his ally, sparking the Peninsular War. Spain transformed from a threat into a battleground and, eventually, a British ally. The six-year conflict drained French resources, became a symbol of national resistance, and reshaped the European balance of power until Napoleon's final defeat in 1814.
In summary, the "Spanish threat" of 1800 was almost entirely derivative of its French alliance. It was a threat of potential—naval, territorial, and strategic—that fully materialized only until the alliance collapsed under Napoleon's overreach.