English
PAPI, Stop Bars and the Colour Code — Runway Lights Explained

It is interlocked with the green lead-on lights beyond it, so that when the bar is lit the lead-on lights are dark and vice versa. ICAO is stricter than the FAA about when they must exist.
CAP 637 puts it as plainly as anyone: the two act in the same sense as traffic lights.