I've never been in this situation before and maybe I'm way off base here but I see it two ways.
1.
Going to court would have to be billed at an hourly rate agreed upon before the inspection in writing.
That's great *IF* the attorney uses you as an *EXPERT WITNESS*, then you could bill for this and hopefully get paid.
2. If they other attorney decides to have you subpoenaed to testify as to what you saw/wrote in your report, then you would not be getting paid.
Unless there was some kinda clause in your agreement with them that *any* testimony/court appearance for whatever reason is billable.
I would think, in my own little brain.