def delete_policy(self, pol_id):
        """Deletes the policy from the local dictionary. """
        if pol_id not in self.policies:
            LOG.error("Invalid policy %s", pol_id)
            return
        del self.policies[pol_id]
        self.policy_cnt -= 1