My guess is that it’s an attempt to protect law enforcement from being photographed or taped without permission - without explicitly being set up as a law for that purpose.
Pretty much unenforceable on a broad scale.