Bob Bwana had booked a flight to take part in a global leadership program for gay rights activists hosted by the Swedish Federation for Lesbian, Gay, Bisexual and Transgender Rights (RFSL), Swedish Television reports.
But immigration authorities denied his visa application, arguing that the chances are high that Bwana will stay in Sweden to seek asylum after his homeland introduced a law criminalizing homosexuality.
"This relationship implies a relatively high risk of LGBTQ people from Uganda who enter the Schengen Area may not leave the territory when visas expire," the Migration Court in Gothenburg wrote in their decision.
RFSL Chairwoman Ulrika Westerlund said she didn't believe the 43-year-old Bwana would seek asylum here and added that she couldn't understand why he was rejected.
"We have had visitors from Uganda plenty of times. Just last fall, there was no problem for a student from Uganda to come here," she told Swedish Television.