n.
In law, exemption or freedom from liability.
Under international treaty, a diplomatic representative is exempt from local laws, both civil and criminal. In many countries, judges, legislators, and government officials, including the heads of state, enjoy limited or absolute immunity at home to protect them from personal liability for wrongful acts or omissions that arise from the performance of their duties. A public prosecutor may grant immunity from prosecution to a witness who is suspected of criminal activity in return for testimony against other suspected criminals.