She couldn't be, as rape in Scottish law, as in English and Welsh law, can only be committed with a penis.
Well, unless she had a surgically created penis which she used to rape someone, as per the Sexual Offences (Scotland) Act 2009.
But Police Scotland have forgotten about that. Or they would treat such a person as a man anyway.