Most of them are illegal too if you dig into the details, especially the past few decades in many countries!
Discussion
Do you mean when new laws conflict with previous ones?
There has been so much trickery and manipulation in many jurisdictions while few have even challenged those changes so that what is actually enforced these days really is NOT legal if interpreting constitutions or similar the way that was intended…