The answer depends on two stopping bans, and dropping off passengers is not an exception to them. You may not stop in an intersection or closer than 5 m to the edge of the cross roadway. In the left picture, the car is exactly 5 m from the edge of the road joining from the side, so this ban is not broken. You also may not stop on a crosswalk or closer than 5 m before it in your direction of travel. In the right picture, the van is stopped right up against the crosswalk, in front of it, so this stop is not allowed