This will only work when having (also) a V3 gateway and the device picks up up the join request from the V3 gateway first (instead of from a V2 gateway) as described here (also check replies).
If it picks up the join accept from a V2 gatewway first then it will start a session with V2 and traffic will be routed to the V2 environment and not V3.