After being detained in Dubai because of her gender identity, Transgender model and best-friend of Kylie Jenner, Gigi Gorgeous is home “safe and sound”.

Held for five hours, Gigi recounts her ordeal in an emotional Instagram post, showing her hugging friend Nats Getty who came to her rescue.

“Yesterday was one of the scariest moments of my entire life and I wouldn’t wish it upon anyone,” the caption reads.

“How you can be denied entry somewhere just because of who you are is seriously disgusting and also very scary,” she continues. “This further proves the need for CHANGE. I am now on my way to somewhere much more accepting.”

RELATED: YouTuber Sam Collins Comes Out As Transgender

Gorgeous, who became famous for documenting her transition on social media, told TMZ that she was stopped at immigration when entering the city. She was allegedly told by an immigration officer: “I was told you are transgender. You cannot come into the country.”

The model says that her passport has been updated to reflect her change in gender and now identifies her as “Gigi Loren”.

According to TMZ, however, airport police say the passport identifies Gorgeous as male and shows a male photograph prior to her transition. Gorgeous disputes those statements, calling them untrue.

RELATED: First Transgender Athlete To Pose For ESPN The Magazine’s Body Issue

The initial report explains that the “imitation of women by men” is illegal in Dubai.