A pan-African court set up to prosecute the continent's worst criminals will not be allowed to try sitting heads of state or their cronies after they voted to give themselves immunity.
The continent's leaders agreed their exemption at a closed-door session of an African Union (AU) meeting, then tried to bury the decision in an obscure paragraph of the post-summit communique.
The decision was a "backward step in the fight against impunity and a betrayal of victims of serious violations of human rights", said a spokesman for Amnesty International. More than 40 activist organisations had opposed the move.
Two sitting presidents - Uhuru Kenyatta of Kenya and Omar al Bashir of Sudan - one former president, Laurent Gbagbo of Ivory Coast, and one deputy president, William Ruto of Kenya, currently face trials at the International Criminal Court, where there is no such immunity.
The African Union has repeatedly - although not unanimously - argued that global heads of state should be shielded from prosecution while in office.
Critics argue that this removes any incentive to step down at the end of constitutional term limits, and encourages election rigging to stay in power and avoid legal action.
Activists had hoped that the new African Court for Justice and Human Rights, a merger of two existing judicial mechanisms, would start its work free of political interference.
But leaders and government officials attending an AU summit in Equatorial Guinea last week chose to introduce presidential immunity into the court's rules. The motion was cryptically titled "Protocol on Amendments to the Protocol on the Statute of the African Court of Justice and Human Rights".
It barred the court from prosecuting sitting African leaders and vaguely identified "senior officials".
Netsanet Belay, Amnesty International's research and advocacy director for Africa, said: "At a time when the African continent is struggling to ensure that there is accountability for serious human rights violations and abuses, it is impossible to justify this decision.
"We are deeply disappointed that African heads of state and government have failed to provide the leadership needed to ensure justice for victims of crimes under international law, opting instead to shield themselves and future generations and leaders from prosecution for serious abuses."
Forty-two African and international civil society and rights groups had objected to the amendment, noting in an open letter before the summit that the impunity violated international and domestic laws as well as the AU's own constitution.