Scottish Law Questions? Ask a Scots Lawyer
You do have a conviction as you pled guilty. The sentence was that you were admonished and dismissed after a deferred period for you to demonstrate good behaviour. In terms of the legislation that conviction is not spent for five years so you do have to disclose it.
You're welcome, don't forget to leave a positive rating so that I'm credited for my time.