In Brazil there's a movement, named Sul Livre (Free South), that claims for the independence of the country's Southern states. And this is not the only one: there are a lot of similar movements that claim independence of some state or region, but this one is specially featured because there are historic issues about independent movements in the states of Santa Catarina and Rio Grande do Sul, that led to a major war in the Brazilian empire times, plus a lot of disagreement in this region about federal tax collection and distribution, and a lot of other major issues.
On one side, the self-determination of the people is understood, in light of international law, as a peremptory norm (jus cogens).
On the other side, Brazil's constitution says, in its first article, that "The Federative Republic of Brazil, formed by the indissoluble union of the states and municipalities and of the federal district, is a legal democratic state [...]"
Considering the long historic of repression of independence movements in Brazil (only two in dozens of them succeeded in the last 500 years, one of those being Brazil's own independence); plus the fact that the Free South movement itself was forbidden and the first engaged people imprisoned during the military rule, it's probable that if asked our Supreme Court would decide in favor of the constitution.
Which of the two principles takes proper precedence? Is there any case law that might illuminate the question, or historic examples that show one or the other option being more "correct?"