Official correspondence released on September 1st shows that Scotland fought tooth and nail for almost two years to have Mr Megrahi excluded from the bilateral prisoner-transfer agreement that Britain and Libya were negotiating , only to let him go last month under a 1993 law that permits compassionate release in Scotland .