One factor that would be problematic for European Powers in their quest
for having power over Mexico was the support of the US, which had its
interest in showing European countries that they should not try to
intervene in America's affairs. At the time however, the US was occupied
with the Civil War, so Napoleon believed that his invasion could be
successful. Hope this helps!!