Unless this was a diversity case, the federal judge has no constitutional grounds to hear this case in the first place.
In the second place there is no constitutional grounds for this ruling.
These are grounds for possible impeachment of a judge who has sworn an oath to preserve, protect, and defend the Constitution.
I agree this is a state matter tell the judge thanks for your view we will continue on like we see fit