Iranian football players have been warned not to take selfies with female fans in Australia, as it is against the country's "moral principles."

The team is currently playing in the Asia Cup finals, and Iranian-born Australian fans have flocked to the matches — wearing Australian summer attire — to meet their football heroes. Females are not allowed to attend games in the Islamic republic due to harsh gender-segregation regulations.

The Telegraph reported that officials in Iran have been shocked at the dress code of local Australian women, which starkly contrasts with strict Islamic-dress requirements.

İran Milli Takımı'nda kadın taraftarlarla "selfie" çeken futbolculara ceza verilmesi gündemde. pic.twitter.com/PQ2HnhVqe8 — FourFourTwo Türkiye (@FourFourTwoTR) January 19, 2015

After photos of Iranian players posing with these women were shared on social media, the head of the Iranian Football Federation's disciplinary committee, Ali Akbar Mohamedzade, issued a firm warning.

"Players are not allowed to pose for selfies with female fans," Mohamedzade reportedly said. "They [the women] may later use these photos for political ransom against our country, or sue the players for harassment. If the players refuse to act according to our clear instructions, then we will be left with no option but to deal with them."

"In some of the selfies that our players have taken with the fans we can see they appear next to people whose appearance we regard as being against our moral principles," he added.

One photo that caused controversy on social media shows a female fan wearing a midriff top, while holding an Iranian flag with the words "Will Alireza marry me?" scrawled in English on it. The message was aimed at Iranian goalkeeper Alireza Haghighi.

"We are monitoring what is happening in Australia, we haven't sent any representative to Australia," Mohamedzade reportedly said.