MOSCOW — Two Aeroflot flight attendants secured an unexpected legal victory on Wednesday when the Moscow City Court ruled that the airline could not link income levels to clothing sizes.

The rulings, which overturned decisions by lower courts, upheld complaints by the attendants that they had been deprived of monthly bonuses — leverage widely used by Russian employers as a penalty — because managers wanted thinner cabin crews on international routes.

The two attendants, Evgeniya K. Magurina and Irina N. Ieursalimskaya, had lodged separate complaints against Aeroflot, Russia’s most prominent carrier, in a case that highlighted the issue of professional Russian women being judged by their looks.

“The court acknowledged that professionalism cannot hinge on clothing size,” Ms. Ierusalimskaya said after the verdict. Ms. Magurina and Ms. Ierusalimskaya won small awards — 22,000 rubles (about $380) and 16,000 rubles (about $277) — for compensation and damages.