The verdict also directed authorities to amend the Prison Rules to bring the jail manuals of all the provinces in harmony and directed the federal and provincial governments to establish high security forensic mental health facilities at teaching and training mental health institutions.
"The federal government [for Islamabad] and each provincial government, shall immediately constitute and notify a medical board comprising of three qualified and experienced psychiatrists and two psychologists from public sector hospitals for examination and evaluation of the condemned prisoners who are on death row and are suffering from mental illness to ensure that such mentally ill condemned prisoners [...] are not executed," the judgement read.
The federal and provincial governments were also directed to launch training programmes and short certificate courses on forensic mental health assessment for psychiatrists, clinical psychologists, social workers, police, and prison personnel.
"The Federal Judicial Academy in Islamabad, and all the provincial judicial academies shall also arrange courses for trial court judges, prosecutors, lawyers and court staff on mental illness including forensic mental health assessment," the judgement added.
The court also clarified that not every mental illness shall automatically qualify for an exemption from carrying out the death sentence.
"This exemption will be applicable only in that case where a medical board, consisting of mental health professionals, certifies after a thorough examination and evaluation that the condemned prisoner no longer has higher mental functions to appreciate the rationale behind the sentence of death awarded to them."
The verdict observed that the terms “mental illness” or “mental disorder” are both used to refer to mental ailments and are defined by medical science.
"It is with the developing nature of medical science that [the] scope of these terms may also evolve. Therefore, we are of the view that a limited definition of the terms 'mental disorder' or 'mental illness' should be avoided, and the provincial legislatures may [...] consider to appropriately amend the relevant provisions of mental health laws to cater for medically recognised mental and behavioral disorders as notified by the World Health Organisation."
The court also noted the use of "stigmatic labels" such as "unsound mind", "lunatic" and "insane".
"Latest legislations all over the world do not use such terms. Therefore, we consider it appropriate to direct that the terms 'unsoundness of mind' and 'unsound mind' occurring in [the] Pakistan Penal Code, the Criminal Code of Procedure, and the Prison Rules be substituted with [the] term 'mental disorder' or 'mental illness'."
"The term 'lunatic' wherever it occurs shall also be substituted appropriately."
According to JPP, there are more than 600 mentally ill prisoners in the country's overcrowded prisons.
Pakistan halted executions between 2008 and 2014 due to pressure from international human rights bodies but lifted the moratorium following the Army Public School (APS) massacre in December 2014 that killed 150 people, nearly all of them children.
Since then, Pakistan has executed 515 inmates. More than 4,200 are still on death row at prisons in the country.