In international law, the option of nationality or right of option refers to the right of an individual to choose their nationality when the sovereignty over their territory is transferred from one state to another. By choosing a nationality the optants exclude themselves from an ex lege determination of nationality, the automatic nationality change, allegiance to the new ruler, and potential forcing of new religion upon them. The provision was often included in peace treaties, allowing a population to maintain its original citizenship, typically on the condition of emigration from the ceded territory within a specified period. Some legal scholars view the right to choose one's nationality as an inherent component of the principle of self-determination.