IANAL (nor an expert!), but I would have expected that an expert witness appears in court in response to a summons; he is therefore obeying the orders of the court, which I would have expected would override any shifty terms in an employment agreement.