A British Airways flight destined for Düsseldorf in Germany has landed in Edinburgh by mistake, after the flight paperwork was submitted incorrectly.
The passengers only realized the error when the plane landed and the "welcome to Edinburgh" announcement was made.
The plane, which started at London's City Airport, was then redirected and landed in Düsseldorf. WDL Aviation ran the BA flight through a leasing deal.
BA said it was working with WDL to find out why it filed the wrong flight plan.
"We have apologized to customers for this interruption to their journey and will be contacting them all individually," BA said in a statement.
On its final flight on Sunday, the plane flew to Edinburgh and back so it seems that someone at WDL mistakenly repeated the same flight plan for the next day, according to BA.
When the crew arrived at London City airport on Monday it is thought that they saw Edinburgh on the flight plan from the day before and followed the old flight route.
Sophie Cooke, a 24-year-old management consultant, travels from London to Düsseldorf each week for work.
She said when the pilot first made the announcement that the plane was about to land in Edinburgh everyone assumed it was a joke. She asked the cabin crew if they were serious.
The pilot then asked passengers to raise their hands if they wanted to go to Düsseldorf.
Everyone raised their hands.
"The pilot said he had no idea how it had happened. He said it had never happened before and that the crew was trying to work out what we could do."
Sophie said the plane sat on the tarmac at Edinburgh for two-and-a-half hours, before flying onto Düsseldorf.
"It became very frustrating. The toilets were blocked and they ran out of snacks. It was also really stuffy," she said.
BA declined to say how many passengers were affected by the mistake.
As well as the bonus trip to Edinburgh, passengers should be receiving at least Euro 250 in compensation under EU flight delay regulation 261, after landing five hours and 20 minutes behind schedule on what should have been an hour-long hop.