There are indeed a couple of facets to this case.
Most argued is whether a law was broken, and while that remains a good question, some continue to argue that one shouldn't break laws because well boo hoo.
2A (which is listed second for a reason) applies to individuals. It says "shall not be infringed." SCOTUS has confirmed 2A applies to individuals- not necessarily commercial or government entities.
So while an individual has the right (on paper) to do what was done, a government entity does not automatically. The reality here though is government entities typically are given free reign to do what they want...in this case, the chief, in his official capacity, broke the law according to the government. In a perfect world respectful of the Constitution, an individual, acting in that capacity "shall not be infringed." Anyone acting in a government capacity is not covered by 2A, so the law as written is the law (though in many cases organizations have been recognized as equivalent to "individuals" so this would require some in-depth research.)
Of course, there is the Constitution, and there is reality. The big take-away to the overturn of Roe Wade is often missed: SCOTUS opined (finally) that they don't look at non-enumerated rights; on the one hand, this IS what SCOTUS should be working on, because enumerated rights are pretty clear. On the other hand, when we repeatedly see SCOTUS split on even enumerated rights, it's pretty clear that they can't handle non-enumerated rights. And, with historical decisions rarely being accepted for review, much less overturned, Scalia's stating that FA aren't covered by 2A, though patently wrong, is now in stone.
The one good take-away of Bruin (at least on paper) is that enumerated rights are not subject to interest balancing. Well, duh, but at least it finally was said. That of course didn't stop NYS from retaliating and passing laws that are obviously and intentionally in violation of Bruin, a big FU to SCOTUS. "Marshall made his decision, now let him enforce it"...nothing new here.
The fact of the matter is that it's not "The People vs." or "The people have decided" it's men. As I have heard, and repeated to my kids, "you can be right, or you can be happy." Chose wisely.