So if it is permissible for a priest to lie when asked about the sins of somebody that were told during confession (by answering I do not know, as you mentioned), then is it also permissible for an undercover officer to lie as well, since this is part of his work, just as the priest not revealing sins is part of his work?