I used to volunteer at a heritage railway in Northern Ireland. We had several old restored trains and we went to great lengths to make the station areas look authentically old. Naturally photographers loved it.
Most photographers were Okay and respected the rules, but some some just refused and couldn't handle being called out. For example one rule was do not get in train cabs, unless by prior arrangement - which involved doing a safety briefing etc. Still some photographers just did their own thing. Some would jump on to the footplates of in service steam locomotives to get their shot, that was dangerous but they didn't care. I was driving a diesel railcar and had a passenger bang on the cab door so he could take shots from within the cab. He kept banging for about 10 minutes until we got back to the station and was then had a go at me for refusing him access.
Another strict rule was no tripods on the platforms. It was dangerous as they created a tripping hazard and just ruined the atmosphere for other visitors. But come a sunny day or special event the forest of tripods would be out in force.
And the worst of all was the ones who would walk off the end of platforms and setup alongside the railway line. Most wouldn't even bother to wear a hi-viz vest either. Completely dangerous, but they didn't care they just wanted their special shot.
These weren't just our rules, many were in place because of laws and insurance requirements. We didn't want accidents, nor did we want a few visitors to ruin the atmosphere for others. But when we called called out such people we often got abuse, which would then be followed up by long rants about how unaccommodating we were in various photography and railway forums.
The thing is we would allow photographers to access cabs, use tripods and go alongside the line - so long as they arranged it with us first. And during special events we would often have an hour set aside specifically for photographers to go to town. But for some that wasn't enough.
For a lot of heritage railways in the UK and Ireland the misbehavior of some photographers has got so bad they have a blanket ban on cameras with remediable lenses.