WRONG! You are confusing the "power" or the "ability" with the "right". It's not the same thing.
"Every nation has a right to govern itself internally under what forms it pleases, and to change these forms at its own will; and externally to transact business with other nations through whatever organ it chooses, whether that be a King, Convention, Assembly, Committee, President, or whatever it be. The only thing essential is, the will of the nation." --Thomas Jefferson
"Every society has a right to fix the fundamental principles of its association, and to say to all individuals, that if they contemplate pursuits beyond the limits of these principles and involving dangers which the society chooses to avoid, they must go somewhere else for their exercise; that we want no citizens, and still less ephemeral and pseudo-citizens, on such terms. We may exclude them from our territory, as we do persons infected with disease." -- Thomas Jefferson