A Child was born on Lahore, Pakistan.Still child is not a pakistani citizen.why ?

Logical Riddle

Because he was born before 1947(before pakistan exists) and hence is an indian citizen