Yes it means that the child is an illegal migrant for all countries. Also means that the child has no residence since they are in said country illegally.
But the bonus is that they don’t have to pay taxes. The downside is that they won’t be making that much money anyway