The US is practically the only country on the planet that has words 'innocent until proven guilty beyond a reasonable doubt' as literal law. So a country with dubious history with Rights like Nigerian government has to do is point to someone call them a pedophile in the court of law on the basis of, 'cause we say so!'
Unlike Democrats, Nigeria actually cares about their children. If any lawmaker in the US wrote a law like this the Dems would attack it as racist, sexist, homophobic, trans-phobic, and bigoted.