After the fall of the Qaddafi regime, secret police documents were discovered linking the UK spy agency MI6 with the kidnap of two leading Libyan dissidents and their families, in order to deliver them to Qaddafi's torturers. The UK government has admitted that its spies are guilty of this crime, but point to a law that says that British spies can't be held liable for their crimes, provided that the secretary of state signs off on them, and the secretary did.
The "acts" can take place only overseas and remain illegal both under the laws of the country where they are committed and possibly under international law. But, section 7 says, with the stroke of a pen a secretary of state can rule that no UK law can be brought to bear.
The act had been drafted as a consequence of a series of European court judgments in the 1980s that forced Britain's ultra-secretive intelligence agencies to emerge into the daylight of the public domain.