“Did not a federal court judge ruled that net nutrality to be illegal?”
They just changed definitions to avoid the SCOTUS. With the same results though.
A bit like DC keeps changing their gun laws after the Supreme Court ruled the old one illegal. They can pass regulations faster then the Supreme Court can rule on them.