Short answer. Possibly. Article 1421 bars only third persons whose interests are not directly affected from raising a contract's illegality. A creditor whose ability to collect is impaired because a debtor hid assets in an illegal contract has a direct stake in that contract's validity — he is not the outside stranger the article excludes, so he may raise the illegality.
What the law says
The defense of illegality of contract is not available to third persons whose interests are not directly affected.
Civil Code, Article 1421 — Illegality and Third Persons. Read the full provision →
The general rule and its exception
Article 1421 exists so that outsiders cannot meddle in a bargain that is none of their business. A person who has no legal interest at stake cannot go to court and demand that someone else's contract be declared illegal and void. But the article is careful to say the defense is unavailable to third persons whose interests are 'not directly affected' — implying, by its own wording, that someone whose interests are directly affected is not shut out.
When a creditor is directly affected
A creditor is not a stranger to everything his debtor does with his property. If the debtor enters into an illegal contract that removes assets from what the creditor could otherwise reach, the creditor's ability to collect is concretely harmed by that contract's existence. That harm is different from the vague, indirect interest an unrelated bystander might claim, and it is the kind of direct effect the article contemplates as an exception to the general bar.
How this differs from rescission
This is a separate route from asking a court to rescind a transfer made in fraud of creditors, which targets contracts that are merely voidable for lesion or fraud rather than void for illegality. Where the underlying contract itself violates the law, a directly affected creditor can point to that illegality directly, rather than having to prove the more specific badges of fraud that a rescission action for creditor protection would otherwise require.
What a creditor still has to show
Being owed money by one of the contracting parties is not, by itself, enough — the creditor has to show that the illegal contract actually stands in the way of collecting what he is owed, not merely that it exists somewhere in his debtor's affairs. Courts still look at whether the impairment is real and direct before allowing an outsider to invoke someone else's illegal bargain.
Cases citing this provision
These Supreme Court decisions cite the provision above. We list them so you can read them yourself; the summaries of what each decided are not ours to give.
- Hiers of Policronio M. Ureta, Sr., namely: Conrado B. Ureta, et al. vs. Heirs of Liberato M. Ureta, namely: Teresa F. Ureta, et al./Heirs of Liberato M. Ureta, namely: Teresa F. Ureta, et al. vs. Heirs of Policronio M. Ureta, Sr., namely: Conrado B. Ureta, et al, G.R. No. 165748 / G.R. No. 165930, September 14, 2011 — read the decision on LawPhil →
- Rapid City Realty and Development Corporation vs. Lourdes Estudillo Paez-Cline alias Lourdes Paez-Villa, et, G.R. No. 217148, December 7, 2021 — read the decision on LawPhil →
- United Overseas Bank of the Philippines, Inc. vs. The Board of Commissioners-HLURB, J.O.S. Managing Builders, Inc. and Eduplan Phils, Inc, G.R. No. 182133, June 23, 2015 — read the decision on LawPhil →
- The Manila Banking Corporation vs. Edmundo S. Silverio, et al, G.R. No. 132887, August 11, 2005 — read the decision on LawPhil →
Related provisions
- Civil Code, Article 1421 — Illegality and Third Persons
- Civil Code, Article 1420 — Divisible Illegal Contracts