Greece could extend a suspension on examining asylum applications passed by parliament last month if migrant flows from Libya start rising again, Migration Minister Thanos Plevris said on Thursday.

In July, the centre-right government stopped processing asylum requests from migrants arriving from North Africa by sea for at least three months in an effort to curb arrivals from Libya to the Greek island of Crete.

In an interview with public broadcaster ERT, Plevris said he could not rule out an extension to the suspension if there was a “new crisis”.

Arrivals of irregular migrants in Crete declined rapidly after the new legislation took effect from 2,642 in the first week of July to 900 in the whole period since then.

New legislation is being prepared that will clearly define that “whoever comes into the country illegally will face a jail term of up to five years,” Plevris said, referring to those who are not fleeing armed conflict, who could qualify for asylum.

Human rights groups accuse Greece of turning back asylum-seekers by force on its sea and land borders. This year, the European Union border agency said it was reviewing 12 cases of potential human rights violations by Greece.

The government denies wrongdoing.

“All European countries now understand that it is not possible to have open borders, it’s not possible to welcome illegal migrants with flowers,” Plevris said.

“There should be a clear message that countries have borders, (that) Europe has exceeded its capabilities and will not accept any more illegal migrants.”

Greece has sent two frigates to patrol off Libya and has started training Libyan coast guard officers on Crete as part of a plan to strengthen cooperation and help the two countries stem migrant arrivals.

Greece was on the European front line of a migration crisis in 2015-16 when hundreds of thousands from the Middle East, Asia and Africa passed through its islands and mainland.

Since then, flows have dropped off dramatically. While there has been a rise in arrivals to the outlying islands of Crete and Gavdos, sea arrivals to Greece as a whole dropped by 5.5% to 17,000 in the first half of this year, U.N. data show.