Government lawyers are obliged to enforce laws, not to protect an official.
Government lawyers are not obliged to protect officials from the law.
Government lawyers have to protect officials from legal trouble.