Director Wanuri Kahiu brought the court action after the Kenya Film Classification Board banned Rafiki for “promoting lesbianism,” meaning the film would be ineligible for the Oscars.Judge Wlfrida Okwany ruled that Rafiki could now be shown to “willing adults only” for seven days, a minimum requirement for submitting feature films for the Oscars competition.

Okwany said that to maintain the ban would deprive Kahiu of “the fame, glory, exposure and opportunity that the Oscar nomination brings a film maker.

“The matter is not for determination on whether homosexuality is right or wrong, moral or immoral, but whether an artist or filmmaker can, in exercising his or her right to freedom of expression and artistic creativity, make a film depicting a gay theme.”

Rafiki featured in the “Un Certain Regard” category, reserved for emerging directors or unexpected or marginal themes, at Cannes.

Kahiu now wants her film to take its chances at Academy Awards in February.