By contrast, a resident alien or foreign national may have limited rights within a jurisdiction (such as not being able to vote, and having to register with the government), but is also given the law's protection, and is usually accepted by the local population. A naturalized citizen carries essentially the same rights and responsibilities as any other citizen (a possible exception being ineligibility for certain public offices), and is also legally protected. Adopted people, in most states, have their original birth certificate sealed for 99 years at the time of their adoption and cannot access it without a court order for medical necessity.
Latvian non-citizens constitute a group similar to second-class citizens. Although they are not considered foreigners (they hold no other citizenship, have Latvian IDs, and most were born in Latvia), they have reduced rights compared to full citizens. For example, non-citizens are not eligible to vote or hold public office, and their economic rights are restricted by law. Estonian non-citizens are in a similar position.