the man was punished for assaulting a guest of the camp commander , and spent two weeks in the stockade after receiving twenty lashes from his centurions olive branch , a ceremonial tool meant for inflicting pain and punishment in lackluster or disobedient legionnaires .