“Greece will not agree to deals if the allocation of responsibilities among member countries is not secured,” Greek Prime Minister Alexis Tsipras said. | Aris Messinis/AFP/Getty Images) Alexis Tsipras: Greece must not become a ‘human warehouse’

Greek Prime Minister Alexis Tsipras said Wednesday he will not allow his country to become a “warehouse of souls” and threatened to block future EU agreements on the refugee crisis if member states do not share the burden.

“Greece will not agree to deals if the allocation of responsibilities among member countries is not secured,” Tsipras told the Greek parliament. “We will not accept turning the country into a warehouse of souls,” he added.

The warning comes after ten countries -- including Austria, Slovenia, Croatia, and Bulgaria -- agreed on Wednesday at a summit in Austria to take steps to limit the flow of migrants crossing their borders. The country's leaders agreed to reject entry to “migrants not in need of international protection.”

"We have to reduce the influx now. This is a question of survival for the EU," Austrian Interior Minister Johanna Mikl-Leitner said after talks in Vienna.

Border restrictions along the migrant trail to northern and Western Europe caused a bottleneck in Greece, leaving thousands of Afghans stranded after Macedonia denied them entry.

Tsipras said that it was "shameful" that some countries were refusing to implement joint decisions made at EU level. Notably, Austria’s introduction of a cap on asylum applications was “unacceptable”, Tsipras said.

On Wednesday Hungary's Prime Minister Viktor Orbán announced that he will hold a referendum on the EU’s mandatory quota system for relocating refugees, accusing the EU of an “abuse of power.” Orbán said a vote to reject the EU plan was a vote “in favor of Hungary’s independence.”

EU leaders will hold a special summit with Turkey in Brussels on March 7 to discuss a deal aimed at stemming the flow of migrants into Europe, European Council President Donald Tusk announced Wednesday.