Following a military coup, Niger's ruling junta has imposed a penal code that punishes same-sex conduct with up to 10 years in prison.