TROOPS: Hungary's PM Viktor Orban has said the migrants are "laying siege" to Europe

The country's PM Viktor Orban earlier said that migrants are "laying siege" to Hungary's borders.

Ahead of the vote which was passed this afternoon, Orban said Europe has "sent out an invitation to the migrants".

The new law will allow soldiers to be deployed to the Hungarian borders to deal with the crisis.

They are authorised to use non-lethal force, which includes rubber bullets, pyrotechnical devices, tear gas grenades or net guns, according Parliament's website.

“Migrants are not just banging on our door, they are breaking it down”

Hungary's PM Viktor Orban

The radical nationalist Jobbik party, which wants even tougher measures, supported Orban's centre-right Fidesz party in the vote, which passed with 151 votes to 12 against and 27 abstentions.

Orban earlier said: "Migrants are not just banging on our door, they are breaking it down."

He also insisted razor-wire fences Hungary is building on its borders with Serbia, Croatia and Romania are needed to stop the migrants and defend Europe, as most of them are coming for "economic" rather than safety reasons.