If someone attack me, for no apparent reason, acting in NON-regular ways even if APPARENTLY from the uniform seems to be an officer I have to defend myself, self defense it's clear.
SO perhaps it's just a matter of attitude to be Citizens vs crooks. In the described situation I'll do my best to avoid the spray, document, call the public denouncing an ongoing assault and once managed something like that act directly as needed against the assaulter who MIGHT seems officers BUT since they act not like an officer should they are now simply aggressors. This of course include as possible non lethal and lethal force as well, of course without much extra hesitation.
SO perhaps it's just a matter of attitude to be Citizens vs crooks. In the described situation I'll do my best to avoid the spray, document, call the public denouncing an ongoing assault and once managed something like that act directly as needed against the assaulter who MIGHT seems officers BUT since they act not like an officer should they are now simply aggressors. This of course include as possible non lethal and lethal force as well, of course without much extra hesitation.