The prosecution says the punishment is legal as it is provided for in the Penal Code and the Dangerous Drugs Act 1952.