 The government tried offering money to migrants to encourage them to return to their countries of origin, while the Supreme Court blocked the government's attempts to deport them.In December 2017, the parliament approved legislation which would allow the government to overrule the Supreme Court in order to deport illegal immigrants.In the preceding decade, some illegal immigrants entered Israel by crossing the border with Egypt.