That's fair. I was just trying to imply that the samurai (and Western cowboy, and European knight, and even modern yakuza and mafia) all present a romantic facade in popular culture that wasn't and isn't necessarily reflected in practical reality.
Apparently even the concept of Bushido is a cultural retcon[0,1] as is, almost everything related to ninja[2,3]. Some young Japanese hoodlums might buy into the hype, but I don't necessarily trust that anecdata as a basis to make some general statement about Japanese culture mistrusting guns because they're less honorable.
[0]https://www.tofugu.com/japan/bushido/
[1]https://news.ycombinator.com/item?id=11990721
The developments that led since then to the modern gun are breech loading, the Minié ball, magazine-fed ammunition, paper and later metal cartridges, rifling, smokeless powder, and the automatic firing mechanism. With the exception of the paper cartridge, all of these technologies were developed in the latter half of the 19th century.
Simply put, pre-American Civil War guns were tactically very different in operation from 20th and 21st century guns. As an aside, this is why WWI was so bloody: generals were trying to fight a war with 20th century guns and 18th century tactics.
They also used guns when they became available. They were soldiers and mercenaries, after all.