Courts have specific rules of evidence and those rules aren't always the same in every jurisdiction. Witnesses cannot testify to their opinions unless they qualify as an expert in the subject and they cannot testify to what somebody else told them for example. The issue is whether you know the information you are providing is true based on first hand knowledge. The farther it strays from that, the less likely it would be allowed.