Any judge or lawyer sitting specially under §16-15-209 or §17-2-208 or by interchange shall have the same immunity as the judge for whom the judge or lawyer is sitting, and the state or county that would provide the defense for the judge for whom the lawyer or judge is sitting shall be required to provide the defense for the substitute judge.