A British Airways flight headed to Germany mistakenly landed in Scotland instead on Monday.

According to the airline, a German company that had chartered the plane, WDL Aviation, had submitted the wrong route to air traffic controllers.

“We are working with WDL Aviation, who operated this flight on behalf of British Airways, to establish why the incorrect flight plan was filed,” British Airways said in a statement to The Hill. “We have apologized to customers for this interruption to their journey, and will deal with them all individually.”

ADVERTISEMENT

The flight that was initially routed to Düsseldorf landed in Edinburgh instead, before taking off again and going to Germany. Passengers on the plane only realized the mistake when the cabin crew announced they had landed in Edinburgh, according to the BBC.

London City Airport apologized for the accident on Twitter.

"As pleasant as Edinburgh is this time of year, we’re sorry that passengers travelling to Dusseldorf on BA3271, operated by WDL Aviation, initially landed in the Scottish capital, rather than their intended destination," they wrote. "This was due to an incorrect flight plan submitted by WDL."

In a statement to The New York Times, WDL said they were “working closely with the authorities to investigate how the obviously unfortunate mix-up of flight schedules could occur.”