Sure this wasn't an Air Miles (as opposed to BA Miles) booking? An Air Miles booking will earn miles.
Alternatively, I suppose its not impossible that the 'extra' Gold economy seats could come from the bottom revenue bucket, which could is some circumstances trigger miles.