Middle spotted woodpecker

We were blessed by a family of great spotted woodpeckers in our garden during the summer so know what they look like.  So surprised to see a new woodpecker in the garden yesterday.  It looked like a middle spotted woodpecker but according to all my bird books it doesn't visit Dumfriesshire in Scotland. I took a photo which doesn't show the head too clearly but the plumage on the breast is quite clear and shows it to be a reddish-brown colour.  Can anyone confirm my sighting please.