Passengers on a flight to Bournemouth were told they would be landing in France after a medical emergency onboard.