The samurai of premodern Japan is one of history’s most famous warrior castes. Their strict adherence to a martial code, the