I support this, as long as there's a caveat to waive undercover officers of this duty. The public should absolutely know this information, as it helps increase trust between the institution and the public. It will have the added benefit of helping to ensure that someone that looks the part is truly a police officer, in the - yes, fairly unlikely - event that someone is actually an imposter.