Licence to kill is the official sanction by a government or government agency to a particular or employee to initiate the use of lethal force in the delivery of their objectives, well known as a literary device used in espionage fiction. The initiation of lethal force is in comparison to the use of lethal force in self-defense or the protection of life.
The legitimacy of deadly force usage from country to country is generally controlled by statute, particular and direct executive orders, the common law, or rules of engagement.
Sir Richard Billing Dearlove, former head of the UK Secret Intelligence Service MI6, testified in court in 2007-2008's Diana, Princess of Wales inquest that it does grant a licence to kill, subject to a "Class Seven authorisation" from the Foreign Secretary, but that there were no assassinations conducted under Dearlove's authority. Former MI6 agent Matthew Dunn stated that MI6 agents do not need a licence to kill as a spy's primary job is to violate the law in other countries, and if an agent is compromised, he or she is at the mercy of the authorities of that country.
The idea of a licence to kill is popularly known from the James Bond novels and films, where it is signified by the "00" (Double O) designation given to the agents in the series who are licensed to kill; Bond himself is famously agent 007.
In literary portrayals, the licence is presumed to be a discretionary one, distributed rarely and requiring extensive training to obtain, granted only to a handful of covert agents of a state in the interest of national security. The agent is not necessarily expected to kill enemies as part of a mission, but may receive legal immunity from prosecution (in his own country) if in the agent's opinion, it became necessary to complete it.