I think the legal position on Tramways in this country was not straightforward.
Originally, they needed individual Acts of Parliament, just like railways. Anything could be stipulated in the Act, depending on what interested parties managed to get added. Then, tramways moved from individual Acts to local authority approval under the Tramways Act 1870 - but with the Board of Trade issuing guidelines on rules and regulations. Finally, the Light Railways Act of 1896 provided another way of legally starting what enthusiasts might still call a tramway. This got away from the threat of the Local Authority having the legal right to take over the tramway after 21 years. The Board of Trade set the overall framework of regulations, but there could be individual requirements to suit local circumstances. Therefore, there could be wide variations in regulations.
There was also a lack of enforcement in some cases, allowing operators to get away with things they were technically not allowed to do. The Wantage Tramway was supposedly notorious for this, but even in urban areas strange things happened. I have seen photos of conventional privately owned 0-4-0 steam tank locos with no protection for coupling rods etc. running on the Glasgow Tramways, for example.