Madrid is one of the big teams of La Liga who has always been the strongest candidate in the UCL competition and that is the reason why management and coaches always maintain the quality of squad performance. As you say if Madrid always has a talented player and all of Ancelotti is careful in choosing a player who really has a big talent quality and is able to help Madrid appear better. The injured player is always a big problem, but for Madrid it is not a big problem because all the players owned by Madrid are always ready to replace the position of injured players and have a good contribution.
And related to the El Clasico match, I think Madrid will still win the match. Vinic and other key players are always ready to beat Barcelona.
It is clear that Ancelotti will find a player on the bench who can replace the injured one, but does Real have a player of Carvajal's level on their bench? This is a rhetorical question, there is no such player, but they will just have to learn to play without him because he is out due to injury for a whole year. El Clasico is always a special game, and this confrontation is always unpredictable, every season due to different circumstances one of the teams can be stronger and despite Real's losses, I am ready to say that Barcelona can beat Real.
It was a good decision to give playing time to the reserve player, even though the player is not at Carvajal's level but it can fill the void in Real Madrid's defense line and at least help Real Madrid's defense from the opponent's attack, at least it will be Real Madrid's investment if the player who sits on the bench when trusted to play well then it will make it easier for Madrid in the future, and Real Madrid does not need to look for a replacement for Carvajal who we know is no longer young, of course a decline in performance will always be there, so playing the reserve player is the right decision taken by Carlo Ancelotti in my opinion.