Slovenia will discuss the possibility of a "corridor" for refugees and migrants to pass through the country if the pressure from an immminent influx becomes too great, Prime Minister Miro Cerar has said.
"If the pressure is too great then we will certainly discuss possible corridors with the countries concerned. We are in contact with neighbouring countries," he told a news conference.
It comes after Slovenian riot police confronted several hundred refugees trying to walk across the border from the Croatian village of Harmica.
A group of Slovenian activists had crossed into Croatia earlier, chanting "refugees welcome" on the other side.
Slovenia's government has said it will accept asylum seekers, but will send back anyone deemed to be an illegal immigrant.
International development secretary announces extra resources to help identify and prioritise the most vulnerable refugees from camps.
Thousands of refugees and migrants have been trapped in a cruel tug-of-war overnight as European nations squabble over what to do with them.
Croatians have been warning refugees and migrants who are attempting to cross the country's border to be aware of minefields in the area.