The ruling came after the bereaved family of the inmate sued the government for some ¥40 million, accusing it of failing to offer proper medical treatment to him.