thanks for bringing this up, the snippet is indeed incorrect and I’ve fixed that now. It should be updated on the live docs soon.
The issue with the snippet as well as the first code you’ve posted are conflicting routing configurations.
In your first case SetDestination hardcodes the destination address, preventing any routing logic from happening, while RouteToSpecificInstance is supposed to use the regular routing and then adjust the determined route with the configured instance.
let me know if you have further questions about the routing configuration.