As Egypt was part of the Ottoman Empire and Turkey was part of the Second Coalition, Egypt was a legitimate French target.