Again, lawyers don't ask questions that they don't already know the answer to. They wouldn't ask to depose him if they didn't think the answers would help their position. This is lawyering 101 level obviousness.
In a trial, they only ask questions that whose answers are beneficial to their case. They know the answers are beneficial because they already asked the questions in deposition. If the answer is different at the trial, it is perjury. If the answer is the same, it helps their case.
[1] https://techcrunch.com/2017/04/26/a-waymo-filing-leaks-lidar...