Irrespective of local laws, wuld some sort of "hazard" tag make sense?
I think that there was some sort of discussion of "iffy" crossings on https://community.openstreetmap.org/t/do-we-really-need-railway-tram-crossing-resp-tram-level-crossing/118987 , but I might be wrong.