As you probably know, today is the 50th anniversary of the decriminalisation of homosexual sex between men in England and Wales. It was part of a sweeping range of 'permissive' reforms introduced during the Labour government of 1964-70, which also included the relaxation of divorce law, the legalisation of abortion, and the abolition of the death penalty (except for treason). The changes were so swift and transformative that it's hard to understand why Harold Wilson isn't remembered as one of the Prime Ministers who 'changed the weather', in the same way that Clement Attlee and Margaret Thatcher are. Probably the answer would be that the reforms were generally 'matters of conscience' that the government didn't directly take the lead on, but nevertheless it's hard to dispute that most of them wouldn't have happened, or at least not so quickly, if Wilson hadn't led Labour to overall majorities in 1964 and 1966.
In Scotland, of course, homosexual sex between men remained illegal until 1980. It's not uncommon for southern commentators to use that delay as evidence of Scotland being a more backward country than the rest of the UK. To which there is a very obvious and indisputable reply - Scotland did not have self-government until July 1999. The decision was taken for us by an English-dominated parliament in London. Yes, the point can be made that Westminster imagined it was taking into account different societal attitudes in Scotland, and perhaps a different mindset among the Scottish legal establishment. But the fact remains that if Scotland had been in possession of its own elected parliament and government in the 1960s, our representatives might well have decided not to be a slave to prejudice but instead to lead public opinion, just as decades later Wendy Alexander took a lead on the repeal of Section 28, and Jack McConnell took a lead on a smoking ban in public places.
Scotland can't be held responsible for something over which it had no power. All that can be accurately said is that "the British Parliament, for whatever reason, decided to keep homosexual sex illegal in Scotland for more than a decade after it had been decriminalised in England and Wales".