They are called "bohan yu kara boru" and are used in case of theft or robbery to throw at the intruder. When the ball reaches its target, it bursts covering the victim with paint, which makes it easy for police to recognize their “client”.