The shot of the "grim old house perched high upon a cliff on the west coast of Scotland" was also used in Sherlock Holmes and the Voice of Terror (1942). The house in the shot could not possibly be the Alastair home because, firstly, it is a church and not a house, and, secondly, close inspection reveals that the front of the house is in ruins.
Despite the orange pips, the film is nothing like Sir Arthur Conan Doyle's original Sherlock Holmes short story "The Five Orange Pips". That is at least partially because the main mystery in the original story is the odd writing of "KKK" in a letter that contained the orange pips, which stands for the notorious American white supremacist/terrorist organization, the Ku Klux Klan. By 1945, the worldwide notoriety of that group made a faithful adaptation of the original story pointless for the audience and any adaptation of any kind required an extensive rewrite to use it.
The inn in the Scottish village is the same set used as the inn in Quebec run by Emile Journet in the earlier Holmes film "The Scarlet Claw."
The tenth of fourteen films based on Arthur Conan Doyle's fictional consulting detective Sherlock Holmes starring Basil Rathbone as Sherlock Holmes and Nigel Bruce as Doctor Watson.