Upgrade to J, but PE was not full
Earlier this year, I was graded to J; however, out of curiosity during the flight, I went and took a look at PE class cabin and there was 2-3 empty seats remaining. Was the upgrade purely random and based on luck? Just being curious.