Though having to play in a Hijab if you are not used to it may be tough.
It would appear that the FIDE rules support Iran.
3.c. The following is acceptable for women players
Women’s suits, dresses. skirts, blouses, turtleneck, T-shirts or poloʼs, trousers, jeans or slacks, footwear (boots, flats, mid-heel or high-heel shoes, sneakers with sock), jacket, vest or sweater, a scarf, as well as jewelry (earrings, necklace, etc.) coordinated to the outfit may be worn. Team uniforms, national costumes clothing.
3.d. The following is NOT acceptable for women players
Beach-wear slips, profanity and nude or semi-nude pictures printed on shirts, torn pants or jeans. holes, noticeable unclean clothing, sun glasses, sport caps. Revealing attire. Clothes such as denim shorts, short-shorts, cut-off shorts, gym shorts, crop tops, tank tops, and clothes made of see-through materials or clothes that expose areas of the body usually covered in the location where the event is taking place.