That’s why they took the constitutional amendment route, so no judge could block legislation which has happened in many states.
I think the California constitutional amendment against same sex marriages was over turned my a federal judge.