Private investigators generally expect to and are experienced in court hearings as professional witnesses. But ask the investigator to be certain. If they are not willing and you plan on taking your case to court, then find another investigator.