Not sure what to call a rule that immediately stops applying to any involved party as soon as one violates it, but "law" isn't a word that comes to mind.
Our usual understanding of law has an enforcement mechanism of the nation on individuals, not voluntary agreements sovereign nations enforce on each other.