The effort to deter people from loitering outside a restaurant in San Diego has backfired.