Rule 303

Tram stops. Where the tram stops at a platform, either in the middle or at the side of the road, you MUST follow the route shown by the road signs and markings. At stops without platforms you MUST NOT drive between a tram and the left-hand kerb when a tram has stopped to pick up passengers. If there is no alternative route signed, do not overtake the tram – wait until it moves off.

Law RTRA sects 5 & 8