HC upholds punishment of convicts