You shouldn’t be allowed to represent your country if you aren’t a medalist in your national championship that year
Yeah, right. There's a problem with this statement. World's Championships has an age limit of 16. Skaters younger than that can compete and win medals in their National Championships.
In 2019 the top 3 Russian skaters were Anna Shcherbakova, Alexandra Trusova and Alena Kostornaia. My math may be off, but I believe they were all under 16 at the time they competed and won those medals.
If I'm right, by your statement, no Russian women would've been able to compete at the World Championships, because all the medal winners were too young, and all those old enough to compete didn't win a medal that year at Russian Nationals, and therefore shouldn't be allowed to go.