There are many ways this ruling can stand. The US Supreme Court can simply accept the "reasoning" in the Ninth Circuit ruling on the basis of "Common Sense." It is important to remember that the Soviet Constitution under Stalin guaranteed as many "civil liberties" as the American Constitution it was just never enforced.
Stay well - Stay safe - Stay armed - Yorktown