Can I remind people that you are talking about professionals who do not make decisions on their futures, or the futures of their respective clubs, on the basis of petty squabbles or simple likes or dislikes. It is a business decision within a multi million pound company.
At EVERY football club there are players who do not feature in a managers long term strategy for a variety of reasons including age, financial cost, style of play, how good they are and so on and so on.
With a change of manager comes a change of direction and professional footballers know that, it comes with the job and sometimes it works for you and sometimes it's time to move on. It's accepted practice by all involved in football.
In such a professional environment Rafa will use James in the best interests of the team and James will want to play to the best of his ability to show how good he is to keep future aspirations alive.
That's football and the exceptions to that way of functioning are few and far between.