If accepted , Turkey would be the first country with a majority Muslim population to join the European Union .