The Quincunx
Member
Most exemptions are set out in The Railways (Class and Miscellaneous Exemptions) Order 1994I think there’s a blanket exemption for the various light rail and tram networks - Railways Act 2005 section 38 mentions it, albeit without giving an explicit list of networks.
https://www.legislation.gov.uk/uksi/1994/606/contents/made