Article 331. Effects of nullity of a juridical act
(1) A void juridical act is deemed retrospectively not to have produced any legal effect from the time of its conclusion.
(2) A voidable juridical act is valid until avoided by a court but, once avoided, is deemed retrospectively not to have produced any legal effect from the time of its conclusion.
(3) Real rights acquired under a void or avoided juridical act is are deemed never to have been acquired on this legal ground. This provision also applies to rights of claim or rights over objects of intellectual property acquired under the juridical act.
(4) The provisions of paragraph (3) are without prejudice to the acquisition, if any, of the right by continuing possession (acquisitive prescription) under law.
(5) Performances made under the void or avoided juridical act, as well as other enrichments obtained from those performances are subject to restitutions under the provisions on unjustified enrichment.
(6) Where, under the void or avoided juridical act, a right has been acquired by registration in a public register provided by law, and the acquirer in whose benefit the right is entered does not give consent to deletion, the acquired right is deleted solely based on a legal action of rectification.
(7) A court may not award on its own motion the legal consequences of nullity even if it found absolute nullity on its own motion.