Trump adviser Bannon is due to go to court