Why should it be fine for some who come to overstay their visas, have no work permit and for the majority of others it is wrong? They are not asylum seekers but economic illegally living in Israel. The bad thing the government did was not deal with this a long time ago and not allowing such a situation to develop. That is not fair to the children but it is all about legality not danger to life.
Guatemala judge orders former President Otto Perez Molina detained for hearing in fraud scandal (AP)
from the article: Yishai: Deporting foreign children preserves Israel's Jewish identity