text: "(e) Provide for warnings to be given, if appropriate, when firearms are to be discharged; "(f) Provide for a system of reporting whenever law enforcement officials use firearms in the performance of their duty. "12. As everyone is allowed to participate in lawful and peaceful assemblies, in accordance with the principles embodied in the Universal Declaration of Human Rights and the International Covenant on Civil and Political Rights, Governments and law enforcement agencies and officials shall recognize that force and firearms may be used only in accordance with principles 13 and 14. "13. In the dispersal of assemblies that are unlawful but non-violent, law enforcement officials shall avoid the use of force or, where that is not practicable, shall restrict such force to the minimum extent necessary. "14. In the dispersal of violent assemblies, law enforcement officials may use firearms only when less dangerous means are not practicable and only to the minimxim extent necessary. The use of such means shall be strictly regulated in national legislation and restricted solely to particularly dangerous violent assemblies. Law enforcement officials shall not use firearms in such cases, except under the conditions stipulated in principle 9. "Policing persons in custody or detention "15. Law enforcement officials, in their relations with persons in custody or detention, shall not use force, except when strictly necessary for the maintenance of security and order within the institution, or when personal safety is threatened. "16. Law enforcement officials, in their relations with persons in custody or detention, shall not use firearms, except in self-defence or in the defence of others against the immediate threat of death or serious injury, or when strictly necessary to prevent the escape of a person in custody or detention presenting the danger referred to in principle 9. "17, The preceding principles are without prejudice to the rights, duties 
analysis: This text appears to be related to the principles of law enforcement and the use of force, particularly in relation to human rights. The language used is formal and international in scope, suggesting that it may be part of an international agreement or treaty. The text also emphasizes the importance of proportionality and minimization of harm in the use of force, which is a common theme in human rights law.