You are forgetting that there is naturalization at birth and after birth.
What is “naturalization at birth”?