You can ask for a court hearing to challenge a fixed penalty notice: https://www.mygov.scot/police-fiscal-warning-penalty/
I'm not sure if it's a 'right' as such, but you can do it. I asked a few polis pals and your chances of succeeding are pretty low for something like this.