Erga omnes is a Latin phrase which means "towards all" or "towards everyone". In legal terminology, erga omnes rights or obligations are owed toward all. For instance a property right is an erga omnes entitlement, and therefore enforceable against anybody infringing that right. An erga omnes right (a statutory right) can here be distinguished from a right based on contract, unenforceable except against the contracting party.
In international law it has been used as a legal term describing obligations owed by states towards the community of states as a whole. An erga omnes obligation exists because of the universal and undeniable interest in the perpetuation of critical rights (and the prevention of their breach). Consequently, any state has the right to complain of a breach. Examples of erga omnes norms include piracy and genocide. The concept was recognized in the International Court of Justice's decision in the Barcelona Traction case [(Belgium v Spain) (Second Phase) ICJ Rep 1970 3 at paragraph 33]: