Did you notice that the "flag man" here is really a mannequin? These are a relatively common sight in Japan. Perhaps it was determined that drivers will slow down more if they see a human figure. Or maybe it's just that the company that makes them has a good sales department.