In a 122-page written order issued late Friday, U.S. District Court Judge Karin Immergut found banning large capacity magazines and requiring a permit to purchase a firearm are in keeping with “the nation’s history and tradition of regulating uniquely dangerous features of weapons and firearms to protect public safety.”