Wow...your child becoming a Kazakhstani national by accident. I wonder if the birth was premature - CX is meant to reject pregnant women for travel if they are 36 weeks in.
Not only CX but I recall in the US, immigration may/will deny entry and send you back overseas from a few instances I recall...