Even the ‘wicked’ have the right to a lawyer, SC had said in a judgment