It collapsed in 1807, when France and Russia themselves formed an unexpected alliance.