You can be sued in a court of law for civil liability related to defending yourself. The courts will sort out the grounds for the lawsuit after examining all of the evidence in a proceeding known as a trial on the merits.
The great thing about having a seasoned and experienced trial lawyer defend you is that he will make sure your immunity rights were protected and made a part of the trial record. However, if the record does not show that your immunity was granted, by the court, then you will have to stand trial for civil liability. See the short video below.