The Latest: Hundreds of refugees enter Macedonia from Greece, after brief tension with police

The latest news as hundreds of thousands make their way across Europe in search of safety and a better life. All times local:

11:50 a.m.

Tempers have flared at Greece's main border crossing with Macedonia, where riot police pushed back thousands of migrants jostling to cross over, after Macedonia blocked access to people deemed to be economic migrants and not refugees.

Holding their identity papers aloft, several hundred Syrians, Afghans and Iraqis, who are being allowed into Macedonia, crossed the border Friday morning until police halted the flow again to ease congestion on the Macedonian side.

Once across, migrants head for the nearby Gevgelija train station, to continue by rail north through Serbia toward wealthier northern European Union countries.

About 3,000 people remain on the Greek side of the border near the village of Idomeni, including about 1,000 Iranians and north Africans whom Macedonia is not letting in.

Overnight, police led some 4,000 people into Macedonia by routes circumventing Idomeni, after migrants who are not being allowed in blocked the official crossing to complain about being excluded.