The direction would apply when the jail manual or any other departmental instruction issued by the appropriate government contained such policy guidelines. States which do not have such a policy have to formulate one within two months, the court said.