Is the destination of a commercial flight important for the pilot?
The pilots in this case did know where they were going: Edinburgh.

BA said a paperwork error was to blame, with the pilot following orders from Germany, where WDL’s head office had filed the incorrect flight plan.  The pilots flew according to the flight plan they were given, and ATC happily routed their plane along that flight plan as well.  The pilots had no reason to suspect the flight plan was incorrect, and safety was never compromised.

The dispatchers involved could use improvement, though.