That's probably the plan anyway. The plan is to defang the courts, and especially the ECHR, since the beginning. The AfD explicitely said it was their plan, the National front in France didn't, but would be very happy if it didn't had any power, and a lot of media close to the neolib/conservative/nationalist are more than happy to shit on the ECHR (Pericles project is only from one of those).
Each time the courts disqualify a parliamentary law or executive decision, it has to spend political power. If the decisions or laws it stop are all from the same side, that side can start chipping the courts power away. The reason for the legislative part to exist is to avoid a dictatorship of the majority (basically X is arrested for something, Y is not even though he did the same thing, because Y is from the majority group). Having the ECHR censoring the law would have been sold by a lot of media as "the ECHR is supporting pedophiles" and "those non-elected judges wants to keep abusing children", and hopefully after a dozen years of similar attemps, the court would be either defanged or totally partisan.