Children in Scotland are able to consent to medical treatment if they understand the implications or having the treatment or not having it.
Obviously this depends on many factors, such as the nature and complexity of the treatment and any risk.
So if a parent consents to a child having a vaccine at school and the child refuses on the day, that refusal is of course valid and the parent is informed. The risks are low because the child can always change their mind and get it later.
Same with something like a filling at the dentist, the consequences of not getting it done are mainly Pain for the child, and they will probably change their mind when this occurs.
It’s hard to see how a child can give informed consent to blockers and hormones when doctors don’t know the lifelong implications, except to say that they are life changing in a serious way.
How can a child who doesn’t know what sex is and has no experience of it, then consent to having no sexual desires in the future, when sex is a vital component of most adult intimate relationships?
How can they consent to treatment that will make their chances of Finding a sexual partner virtually nil, when they don’t understand this ?