Also worth mentioning that this precise scenario did happen with a flight from Toronto to Lisbon, which lost both engines because of a fuel leak. They managed to land the plane on an airbase in the Azores. Happened about three weeks before 9/11.
https://en.wikipedia.org/wiki/Air_Transat_Flight_236