You know there are states where open carry is not allowed, right? It also doesn’t need to survive a judge, it needs to be in effect for long enough to curb violence. Whether that happens is a different question than its constitutionality. But I doubt that this is intended to pass our insane judicial system too to bottom.