This is from brouter.de, but the issue is the same with OsmAnd. Coming from the green bubble on the lower side and driving northwards, the street splits in two, the orange "main lane" on the left and the white "side lane" on the right. Between the rail bridges, the two lanes rejoin with one another, but the signage on the road forbids whoever is in the side lane to cross over to the main lane, and vice versa, so it's as if the two lanes kept on being two separate ways, as far as normal routing should be concerned.
This is important in the case you want, for example, to drive to the red bubble at the top, since you must then take the side lane before the first bridge, and you are forbidden to do so between the bridges as the router tells you.
I tried to model this restriction as I wrote in the original post, but OsmAnd seems to ignore that, and suggests the route in the picture, which you can't follow in real life.