Indeed, all this was bad news for the Real Madrid squad when the La Liga competition was about to start and after that there were still players who were injured. His absence was unmitigated, even among them there were those who until the end of the season would not be able to strengthen Real Madrid. Kepa's arrival at Real Madrid is only on loan and of course it won't cost a lot of money. Ancelotti does like Kepa and even threatened Lunin's position, which was previously expected to get a starter when Courtois was injured. I think Ancelotti must be fair in dividing the rotation for these two goalkeepers.
I think the quality of both is good enough that they just need to show their professional attitude towards the coach's decisions. Because ancelotti is a coach who is quite experienced and he has strong instincts for the players he brings. So if you look at the quality of the Ronin he is a quality goalkeeper but it is difficult for him to get minutes to play. However, his performances in the two matches were good enough that Kepa's arrival gave a stronger impression that Ancelotti prefers Kepa character.
From that point of view, every player must compete to be able to get a regular place and that will probably become commonplace in a soccer team. Besides that, when the schedule is busy, Ancelotti can rotate the goalkeeper so that he can perform optimally in every match they play.