If the ball touches someone in touch, it is in touch and therefore nobody gains an advantage, play on, lineout.
The TJ/AR is told to be in touch, except when judging goals.
If a penalty attempt hits the TJ/AR, equity suggest restarting with a drop out - but I am not sure the law allows that.