I hope they have some manner of “shearing off” the nodes that represent those streets and break the graph into two disjoint ones. That way they’re off on their own little island without a ferry connection and problems only arise if you ask for a route to, or are starting from within, somewhere that actually doesn’t have any ground truth.
It brings up an interesting issue though - ideally if you have trap streets you would never want to use them in route finding...