European powers competed for favor from potential Asian allies to use against other Europeans—imagine France teaming up with Iran against the United Kingdom these days, as Napoleon did in 1807—and Middle Eastern governments meddled in European affairs in a way unthinkable now.