Updated

The Latest on migration issues in Europe (all times local):

3:25 p.m.

Germany's upper house of Parliament has rejected a new law that would have made it easier to deport some migrants by declaring Algeria, Morocco and Tunisia "safe countries of origin."

The decision means the measure will now have to go to a committee for the lower house and upper house to try and negotiate a compromise proposal.

Germany's top security official Interior Minister Thomas de Maiziere accused some of the states that make up the upper house of playing politics, and said the decision "makes today a bad day for our efforts to stop illegal migration."

He said citizens of the three countries are almost never deserving of asylum, like refugees fleeing war, and it was "absolutely counterproductive to send a signal of indecision instead of resolve."

___

12 p.m.

Greece's supreme court has heard the appeals of two Syrian refugees against their planned deportation to Turkey, a case that could affect thousands trapped on Greece's islands under a year-old European Union deal with Turkey.

The two men, aged 21 and 29, reached Greece's eastern island of Lesbos in July 2016, four months after the agreement designed to stem uncontrolled migration flows came into effect.

Their bids for asylum in Greece were rejected.

Under the March 20 agreement, migrants should be returned to Turkey, which is deemed a safe country for refugees, unless they can convince authorities that they merit asylum in Greece instead. Rights groups have criticized the deal.

The supreme court in Athens on Friday heard arguments by lawyers. A new hearing is planned for next Friday.