There shouldn’t be any need to create a restriction in that case. If a router allowed that, it would be considered tagging for the router, and the issue should be fixed in the router instead of OSM data.
4 Likes