Any official should know that if they beyond the law then they would personally be bought to justice.
If I were a guard I would have refused any unlawful command. My duty would have been to protect her but not to be a gunda for her. If I could not have done my job then I would have resigned. That is the honourable thing to do.*