The same trick works when the AI uses a deviator on your units too. Another funny bug I remember is that the range of the Sonic Tank is tied to the game speed, which is quite a nerf or buff because that is a very strong unit. Remember to set it to "slowest" when fighting the Atreides ;-)