This happened to me once with either an EasyJet or Ryanair flight. Long time ago and virtually the whole departure lounge boarded a flight that was going to Dublin instead of somewhere in Spain.
Not sure what would have happened had we not overheard conversation between passengers but you can imagine the chaos that ensued.
I remember the Aircraft was was British Racing Green and in Jaguar livery.