I expect you were as surprised as I was to learn that Ian Rankin imagined his character of Rebus to be a No voter.
Now, it’s unusual for an actor to find himself at odds with a writer because the actors primary duty when applying flesh and blood to the written character is to be faithful to the writer, first and foremost - but let’s look briefly at just one aspect: his creation was the grandson of a Polish immigrant, therefore I suspect Rebus would be well aware of the humiliation and degradation suffered by so many immigrants at the hands of the Home Office then and now. This may, in turn, lead him to ‘think carefully’ before voting and to consider how his grandfather might have fared in the ‘hostile environment’ of a pre/post-Brexit UK.
So isn’t Ian here just simply projecting himself onto a much-loved character? Because if you could apply the question to Rebus, he would obviously tell you he’s a Yes voter.