If the birth happens in no territory, the nationality of vessel will take precedence. US, Canada and several other nations automatically grant citizenship to babies born in mid-flight above their sovereign territory which is covered by two international conventions.