 During the early stages of planning for this film in 2003, Scottish Screen, the national development agency for the Scottish screen industries, had run a lottery worth £500,000, but withdrew the funding for the film, and it was almost made in Luxembourg instead of Scotland.While Bakehouse Close, off the Royal Mile, was used for the exterior shots of John Gray's family home, the Edinburgh Castle scenes in this film were actually shot in Stirling Castle.There was much filming in and around the old town of Stirling as well as within the grounds of Stirling Castle doubling for old Edinburgh and Greyfriars Kirk Yard as seen in the film is in fact Stirling's Old Town Cemetery with the Church of The Holy Rood in the background.