The court's conservative majority said in a 6-3 ruling that the Constitution puts these decisions in the hands of gun owners, not with local officials, county sheriffs or others who fear that too many guns on the street are a threat to public safety.