A ruler's injustice is not justified by the ruler's position; equally, one personal fault does not make all of the ruler's instructions religiously unlawful.
First case: An instruction accords with religious law. Its permissibility is not erased merely because its issuer is personally sinful.
Second case: An instruction itself contravenes religious law. That particular instruction is not obeyed.
The distinction examines the instruction's legitimacy instead of allowing personal approval or disapproval to decide every case.