I think the answer to that is that technically Counties don't exist any more. They actually disappeared in 1975 when the Regions, which themselves are now no more, were established. But historically of course, you're right. Dunblane is in Perthshire.
So it is. How could I have forgotten that when I used to visit the place so often.
I think it was the Freedom of Stirling thing that threw me.