Sec 368

A contract void at the time of its inception cannot be validated by subsequent legislation. And if it violates, when made, a statute, the repeal of that statute does not make it operative.2