For anyone that lives in New York City, this is the perfect explanation for having it both ways:
The delivery guys have been given the right at any time to regard themselves as either cyclists or a pedestrians. When the traffic light is green, they regard themselves as vehicles and ride. When the light is red they define themselves as a pedestrian who just happens to have wheels. They can choose whatever is advantageous at any time. Who can blame them? Life is short and they need the money.