Siding with a union that represents law-enforcement officers, a state appeals court on Tuesday unanimously decided that a constitutional amendment expanding victims' rights can shield the identities of police officers who were threatened in use-of-force incidents.