Qatar’s equestrian team is in danger of losing its spot in the Tokyo Olympics after two of its riders — one a sheikh — tested positive for cannabis.

Sheikh Ali Al Thani and Bassem Mohammed were at a qualifying event in Morocco last October when they failed the tests, according to the International Equestrian Federation (FEI). Cannabis is prohibited under the governing body’s regulations, but there is some flexibility when it comes to the drug.

FEI found cannabis is “more likely to have been consumed by an athlete for a purpose other than the enhancement of sport performance,” according to the Associated Press. “Positive cases involving ‘specified substances’ can be handled with a greater degree of flexibility within the structure of the FEI Regulations.”

That would be welcome news for Al Thani, who served as the flagbearer for his country in the 2016 Games in Rio de Janeiro. The sheikh made it to the final round for individual jumping gold where he and his horse, First Devision, finished in sixth place.

In an interview with Equnews.com, Al Thani said he is aware that he is held to a higher standard and always hopes to make Qataris proud. “I really love to inspire,” he said.

“I am from the Royal Family so there is attention on my name, so I have to prove that we are working hard and anyone can achieve great things. I love the sport that I do — but it all started with a love of horses. I loved horses before I loved the sport,” he said.

“My dream is to win a LGCT Grand Prix, and to bring an Olympic medal home for Qatar, particularly as a team.”

The two riders have not been suspended by the FEI while awaiting any disciplinary hearing. Any unfavourable ruling can be challenged at the Court of Arbitration for Sport.