As far as I know FIG has certain rules with respect to leotards, and some years ago French team was fined for having their leotards too open. Same rules won't allow to use the outfit covering the whole body. Actually this Qatari gymnast does already have a special leotard with "shorts".

The question remains - if she is doing something against islamic rules (and she does), how come she represents an islamic country? Don't you see there a contradiction? Will she be ostracized by let's say her schoolmates for showing her body in the public?

Since religion and tradition are so interwaved in the Middle East I am just trying to understand where the personal preference ends and religious law begins.