It used to be a known - but unspoken - thing that vouchers redeemed via travel agents (which therefore booked into revenue buckets) would frequently be awarded TPs for the higher cabin.
BA closed that loophole some years ago, so if it happens now it's a mistake.