Quod contra legem fit

Quod contra legem fit, pro infecto habetur. What is done contrary to the law, is considered as not done. 4 Co. 31. No one can derive any advantage from such an act.