
While English/British law always favored male heirs to princesses, there have been reigning Queens when all direct male heirs were either dead or non-existent. If the right to the throne passed through the eldest child regardless of gender when Queen Victoria reigned, her daughter Princess Victoria would have been Queen briefly before her own death. However, her son Wilhelm II (better known as the Kaiser of World War I) would have taken the throne after her.
People sure seemed to die fairly young back then.
They were all related to each other. Weren’t the Kaiser and Czar cousins?