European leaders greeted the defeat of Turkey's coup Saturday with relief, as it averts chaos and keeps alive a deal that has helped to stem the migration crisis threatening the continent.

But while some hope a reminder of resistance to his personal grip on power may prompt President Recep Tayyip Erdogan to heed European pleas for him to respect civil rights, many fear he is far more likely to step up his crackdown on opponents and so complicate European Union efforts to maintain the bargain.

The coming weeks, starting when EU foreign ministers meet in Brussels on Monday, will be crucial to the fate of a plan at the heart of the migrant deal: to have skeptical EU lawmakers approve after the summer an end to visa requirements for Turks.