Hungarian government spokesman Zoltan Kovacs said that deal has been reached,"
"It is impossible for a migrant to enter Hungary without entering an EU member earlier," he added. "In 2015 the Geman tried to make us the first country of entry, but we rejected that already then."
READ MORE: Kurz Becomes European 'Rock Star' as Merkel Loses Points on Migration Issue
In the final statement on migration, which was published on Friday, the participants of the EU summit instructed the European Commission to organize the system of filtration centers in countries outside the bloc in order to select refugees entitled to asylum and bring them to Europe.
Earlier this week, Brussels slammed Budapest due to a series of laws, passed in the Hungarian parliament, and officially known as the "Stop Soros" package. They would place restrictions on NGOs and would make helping undocumented migrants a criminal act. The MPs also passed a constitutional amendment barring any "alien population" from being settled in Hungary.