The Slovenian army will be sent to guard the border with Croatia and help police control the flow of migrants into the country under the legislation passed by the national parliament on Monday evening.
The act giving the army the power to control the migrant flow was passed by 69 votes to five in the 90-seat parliament..
The army will be assigned to the border duty for three months only, with a possibility of extending the mission should the migration crisis last longer. Under the new law, military personnel are also permitted to temporarily detain groups of migrants and hand them over to police.
Slovenia’s move follows an announcement by its northern neighbour, Austria, that it will limit the inflow of migrants into the country.