Règle correspondante
Practice Relating to Rule 99. Deprivation of Liberty
Section A. General
Morocco’s Penal Code (1962) provides:
Article 225
Any magistrate, public official, agent or holder of public authority or power who orders or commits any arbitrary act attacking either the individual liberty or civil rights of one or more citizens, is punished with the loss of his civil rights.
If he justifies his act by an order of his hierarchical superiors in an area of their competence, for which he owed them obedience, he benefits from an absolving excuse. In that case, the penalty is only applied to the superiors who have given the order. 
Morocco, Penal Code, 1962, Article 225.