May you drive past a tram or bus where people are getting off?
Only if you first give the passengers the chance. If you want to pass a stopped tram or bus on the side where passengers get on and off, you must give them the opportunity to do so (art. 52 RVV 1990). In practice: you stop or wait until they have got on safely or crossed the road.
Why this matters. If passengers get off on your side, they may walk across your lane to the pavement. So the law says: if you want to drive past on that side, let them go first.
Passing a tram on the right. You may overtake a tram on the right (art. 11(5)). If that tram is stopped at a stop and people are getting off on your side, art. 52 applies: passengers first.
A bus pulling away. In a built-up area you give a bus the chance to pull away from a bus stop when the bus driver signals with the indicator (art. 56(1)).
The sign. is the information sign for a bus stop or tram stop (annex 1 RVV 1990). When you see it, watch for people crossing or getting off.
RVV 1990 art. 52, RVV 1990 art. 11 lid 5, RVV 1990 art. 56, RVV 1990 bijlage 1 (L3), https://wetten.overheid.nl/BWBR0004825/2026-07-01