Wrong. They ruled that there was no "judicial notice" that such a weapon was "usefull" as a weapon of the militia. Big difference.
BTW, it is interesting that one of the justices later acknowledged the use by himself of just such a weapon when in the service of his country in WWI.
Would have been great for 'cleaning' the trenches.