Quebec Superior Court Judge Marc André Blanchard has granted a permanent injunction blocking the federal government from destroying the province's portion of the gun registry.
He ruled that the province of Quebec is entitled to the database related to the province's registry.
The Harper government had repealed the registry and ordered that all data be erased.
Related on HuffPost:
Gun ownership is strictly prohibited unless there are "genuine reasons" such as licensed sport, animal control or employment requirements.
Brazilians over the age of 25 are allowed to own guns as long as they are registered and kept indoors. The country has the second-highest gun-related death rate after the U.S.
Canada's gun laws are significantly stricter than the neighboring U.S. To acquire a license, applicants must take a safety course, pass a criminal records check and be certified by a firearms officer.
Chinese civilians are not allowed to own guns, except for hunting and protection from wildlife. Citizens can face the death penalty if caught illegally selling arms.
Czech guns laws are considerably more liberal than the rest of Europe. Applicants must pass a questionnaire on firearms, have no criminal record and show ID proving they are over 21 years old.
Germany's Federal Weapons Act, enacted in 1972, restricts everything apart from replica guns to adults at least 18 years old, who must pass checks for "trustworthiness, knowledge and adequacy." A firearms ownership license, or <em>Waffenbesitzkarte</em>, must be obtained before a weapon can be purchased.
Italians can have up to three "common" handguns in their home, but if they want to hunt or carry a concealed weapon they must apply for a license.
Japanese licensing requirements are considered a formality -- there is little enforcement of the strict laws. Despite this, gun deaths are among the lowest in the world.
Strict laws, including criminal record checks, apply for Mexican ownership. However, there are growing concerns that smuggling from the US is undermining these regulations.
Self defense is not a viable excuse for carrying firearms outside the home in Russia. Hand guns and fully automatics are prohibited, but adults with no criminal record can apply for a license for shotguns and air rifles.
Brits convicted of a criminal offense cannot handle, possess or shoot a gun. A license is needed for any firearm except low-powered air rifles/pistols. Self-defense is not a valid reason for ownership.