Illegal children once fostered are granted citizenship