My boss used to live in communist poland, and this was a very common tactic. Instead of shooting paintballs, they squirted people with liquid that would only show up under a black light. Police would later hold checkpoints with black lights to scan potential protesters.