Turkey HAS to remain in NATO. NATO needs Turkish bases to fly their missions from.  Meanwhile, the EU needs to humor Turkey or else it unleashes another 3 million migrants into Europe.

Whether making Turkey part of the EU is helpful or not is speculation.