with avoid: "borderCrossing" not working as intended

We are using with avoid: “borderCrossing” parameter but the on tomtom maps the route still goes through country borders. For example in our use case all locations are with in Slovenia, some near borders. But the route generated on maps some times goes through Italy and sometimes through Croatia

Can you give an example request?