We have discussed this a lot before -- but CJ seems to have a different answer from the majortiy view here.
The majority view on this site has been that what's important is the LoT -- if the LoT is outside the 22m, then a player taking a QTI inside his 22m has taken it back in, so can't kick for gain in ground.
Joubert is saying : No, what's important is is where the ball is retrieved.
http://www.sareferees.com/ref-replies/duty-ref-496--craig-joubert/2829628/
Question: Green player on the 10 metre line kicks the ball which crosses the touch line on the full, the line of touch thus being abeam the kick. Blue player starting from inside his 22 executes a quick throw inside his 22. His kick goes out on the full at the half way line. Where is the subsequent line-out.
Craig Joubert: If the player gathered the ball behind the 22m line in touch and then threw it in he can gain ground, if he collects the ball in touch outside of the 22m line and then runs back into the 22m area while in touch before throwing the ball in, then no gain in ground.
The majority view on this site has been that what's important is the LoT -- if the LoT is outside the 22m, then a player taking a QTI inside his 22m has taken it back in, so can't kick for gain in ground.
Joubert is saying : No, what's important is is where the ball is retrieved.
http://www.sareferees.com/ref-replies/duty-ref-496--craig-joubert/2829628/