I can't remember which investigation it was while he was president, but the lawyers argued he's too dumb or incompetent to be deposed without perjuring himself. Eventually they agreed to 10 questions written and he was allowed lawyers with him to answer.
Any good lawyer will tell the court he isn't testifying and try to keep trump from talking in and out the court.