If I recalled it correctly, our teacher told us that when you are born on a plane, your nationality will depend on the location of the plane even you are flying. For example, you were flying with the plane and born at the territory of China, then your nationality will be Chinese.
Correct me if I'm wrong.