Like I said, this is known as Diminished Responsibility.
This is where a sentence is reduced from a Murder charge to Manslaughter or Murder 2 or whatever it is called in Swiss law.
It takes into account the state of mind of the defendant at the time the crime was committed.
Keyloyev's mental functions were impaired due to the loss of his family and therefore could not be held 'criminally' liable.