US Circuit Judge Lawrence VanDyke, who was appointed by President Donald Trump, said the Democratic-led state's law could not stand under the US Supreme Court's 2022 landmark gun rights ruling.