To dream of a scenario where we are being prosecuted suggests that we feel that authority has us on trial and we must justify ourselves, usually from an emotional perspective, but sometime in our actions or demeanour.

Trial by ordeal, such as the supposed witched went through in previous times, appearing as a dream image signifies that we may be feeling persecuted.