But she had said she would only compete if she was allowed to wear the hijab .
Judo officials initially refused , saying it would be dangerous .
But she had said she would only compete if she was allowed to wear the hijab , and judo officials initially refused , saying it would be dangerous .