“When a law is enacted with retrospective effect, it is not considered as an encroachment upon judicial power when the legislature does not directly overrule or reverse a judicial dictum. The legislature cannot, by way of an enactment, declare a decision of the Court as erroneous or a nullity, but can amend the statute or the provision so as to make it applicable to the past. The legislature has the power to rectify, through an amendment, a defect in law noticed in the enactment and even highlighted in the decision of the Court. This plenary power to bring the statute in conformity with the legislative intent and correct the flaw pointed out by the Court, can have a curative and neutralizing effect. When such a correction is made, the purpose behind the same is not to overrule the decision of the Court or encroach upon the judicial turf, but simply enact a fresh law with retrospective effect to alter the foundation and meaning of the legislation and to remove the base on which the judgment is founded. This does not amount to statutory overruling by the legislature. In this manner, the earlier decision of the Court becomes non-existent and unenforceable for interpretation of the new legislation. No doubt, the new legislation can be tested and challenged on its own merits and on the question whether the legislature possesses the competence to legislate on the subject matter in question, but not on the ground of over-reach or colourable legislation.
In Dharam Dutt, (2004) 1 SCC 712 the Court has highlighted that the doctrine of colourable legislation does not involve any question of bona fide or mala fides on the part of the legislature. The whole doctrine revolves itself into the question of the competency of a particular legislature to enact a particular law. If the legislature is competent to pass a particular law, the motives which impelled it to act are really inconsequential, unless they in the amended incarnation invite the frown of any Article of the Constitution.”
– Hon’ble Justice Dipak Misra, Cheviti Venkanna Yadav v. State of Telangana, [Civil Appeal No. 13604 of 2015].