The Janus ruling will be about whether public sector unions can force government employees to pays dues to their union. If you believe this is compelled speech, it doesn't matter if there are decades of laws -- they are invalid.
There's decades of laws that made interracial marriage illegal (Loving v. Virginia), and the supreme court overruled them too. If the constitution forbids a government action then it's up to the supreme court to overrule it.