I was refused entry a few weeks ago when flying a BA codeshare flight in AA J. What struck me was that the explanation all seemed very routine and standard ("I see you are flying AA") and I was left with the clear impression that it would have been given whatever the capacity circumstances at the time.