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 realised 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 apologised 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.
German firm WDL said it was "working closely with the authorities to investigate how the obviously unfortunate mix-up of flight schedules could occur".
"At no time has the safety of passengers been compromised. We flew the passengers on the flight with number BA3271 to Düsseldorf after the involuntary stopover in Edinburgh," it said.
BA declined to say how many passengers were affected by the mistake.