Heller was so cloudy it left the door open for these kinds of restriction.
Heller was, in my opinion, revision of the Second Amendment to separate the two parts of its language and make a different individual right out of the operative portion than was originally intended. However, the Court is authorized to decide the meaning of the law, not me, so Scalia's opinion counts and mine doesn't.
Just the same, I'll go ahead and express it.
The Second Amendment gives the people an individual right to keep and bear arms for a stated purpose, and that purpose is military: to serve in a well-regulated militia. It does not grant a collective right; there's no doubt that the right is individual; but it does not grant the right to keep and bear arms for any other purpose than serving in the militia -- not for self-defense, not for hunting, not for target-shooting or collecting or any of the other purposes people use firearms for.
This has a number of implications. One of them is on the restrictions on type of weapon that are consistent with the 2A, and this is where the Court's version (a right to keep and bear arms for various non-military purposes, with the original military purpose forgotten) most diverges from the original. If the arms that the people have a right to keep and bear are for the purpose of serving in a well-regulated militia for the defense of a free state,
then they must be military weapons. And modern military arms are precisely those that the Court decision implies may be banned, as they are "dangerous and unusual weapons." Interpreted in accord with its stated purpose, the 2A protects a right to keep fully-automatic assault rifles, grenades, machine guns, body armor, flame-throwers, and other weapons useful in military combat, but not handguns for home defense or hunting rifles or target rifles or shotguns or anything of a non-military sort. Yet the
Heller decision would exactly reverse this.
Another implication is on the types of restrictions on bearing arms that a government may impose. No restrictions on bearing arms that would prevent their being used for military training or for mustering into the militia on short notice can be allowed; thus, a person must be allowed to keep military arms and ammunition in his home, so that he may assemble with the rest of the militia fully armed and ready for combat. However, almost any other restriction would be permitted. The state or city might not allow a person to carry weapons out of the home except when serving in the militia. It might require that the weapons be unloaded except when serving. It might require trigger locks rendering the weapon useless, provided those locks are removable in a reasonable amount of time consistent with service in the militia.
Because of the
Heller decision, we now have a completely different Second Amendment than the one originally incorporated into the Bill of Rights, one in which the first words might as well not exist.