Zambrano case
The European Court of Justice has decided that foreigners may have full citizens rights in member states if they have children with citizenship in a member state. The rights are not restricted to the free movement of workers.
Judgment in Case C-34/09