Green fans come up with so many excuses but westerosi law states that Rhaenrya was heir as publicly her father never changed his mind and always claimed her as his heir. no matter how you see it Rhaenrya was capable of ruling if left unchallenged and the king word is law in succession