It's common knowledge that James Bond has an official "License to kill". But what exactly does this license entail? I would assume that it means that he has a blanket authorization by his superiors to liquidate people when he believes that doing so is in the best interest of the United Kingdom and that it provides him with legal immunity for doing so.
But are there any limits to that license?
Could he, for example, kill completely innocent people for his personal amusement and would not have to be afraid of any legal consequences except maybe losing his job?
Is his immunity only binding for the justice system of the UK or are there any allies which also recognize his immunity?
Is there any information in any of the Eon Productions movies or from any of the Ian Fleming books which explains further details about the fine-print conditions of his license to kill?