In English law I don't think its reasonable to assume anything. I think that a pedestrian passing a red light at traffic crossing then gets into Rail Act and by-laws etc and the railway is essentially private land, not sure that same regulations are in place for the public highway unless a local by- law is enacted.