The G7 leaders have been told to get rid of discriminatory gender laws that still exist on their statute books and begin enshrining equal rights in the legal system.

All G7 countries, including the UK, still have discriminatory laws on their statute books or substantial loopholes that allow discrimination, the G7’s gender equality advisory council said at a key summit session attended by all leaders, including the US president, Donald Trump.

Discriminatory laws range from the UK’s legal position on child marriage, with children as young as 16 allowed to marry in Scotland and 16-year-olds, with parental consent, able to marry in England, Wales and Northern Ireland, to limits on free contraception in Germany, or regressive laws on abortion in certain US states and a lack of federal law guaranteeing paid maternity leave.

The leaders were addressed by the Nobel laureates Nadia Murad – a Yazidi woman from Iraq who was kidnapped and raped by Islamic State before she escaped, going on to become a human rights campaigner –– and Denis Mukwege, a Congolese gynaecologist who has treated tens of thousands of rape survivors.

With them, Phumzile Mlambo-Ngcuka, the head of UN Women, urged the leaders: “We are not only asking you to be brave, we are asking you to be the great generation of leaders who will take bold steps. We call upon you to pronounce 2030 as the expiry date of gender inequality.”

Trump attended the key meeting on gender equality despite senior US administration officials complaining that the French president, Emmanuel Macron, had moved the focus of the G7 summit too far towards what they called “niche issues” such as equal rights and the climate emergency.

Leaders were given a long list of progressive laws that countries could take inspiration from. These ranged from Denmark’s new law on cyber-harassment and Iceland’s equal pay laws, to France’s new laws on street harassment and banning misinformation on abortion online. Leaders were advised to implement at least one progressive law and told they would be held accountable at future summits.

France pledged to increase funding for help for survivors of sexual violence, as campaigners also called for more financing for women’s rights groups.

“We encouraged leaders to go home and look at their laws,” said Katja Iversen, the president of the Women Deliver campaign group. “Many said they had already identified laws they would improve, that was very encouraging.”

• This article was amended on 3 September 2019 because an earlier version omitted to set out the legal position on child marriage in Scotland. The position in each of the different parts of the UK has now been included.