RegNMS requires exchanges and trading centers to honor the Order Protection rule to route trades to the trading center with the best listed bid/ask price.
I don't think RegNMS requires a broker-dealer like RBC to route its order to any particular exchange.
Brokers already have a duty of best execution to their clients. They are allowed to use their judgement to send orders to any given exchange regardless of the NBBO. That's what enabled RBC to implement "Thor".