The answer depends on the place: the car is in a tunnel, and stopping is banned in tunnels. The ban covers any stop, with no exception for picking up a passenger, so you may not pull up to the person waving by the wall and stop at the curb. You can pick the person up only where stopping is allowed, after you leave the tunnel