In the highly-regimented society of the Edo era, the samurai’s role in dispensing civil justice meant that they were held to a much stricter standard of behavior. For example, if a samurai claimed to have murdered a farmer because the farmer insulted him, and it wasn't true, then that samurai was an embarrassment to his lord and family and had to commit ritual suicide.