LONDON (Reuters) - British Prime Minister Theresa May’s government averted a rebellion in parliament on Tuesday over plans to ditch the European Union’s Charter of Fundamental Rights, promising to review its approach and make changes if needed.

FILE PHOTO: Britain's Prime Minister Theresa May leaves 10 Downing Street in London, November 1, 2017. REUTERS/Toby Melville/File Photo

Parliament is debating legislation which will enact Britain’s exit from the EU in March 2019 and copy EU law into British law - described by officials as “one of the largest legislative projects ever undertaken in the UK”.

The bill is testing May’s ability to govern effectively after she lost her parliamentary majority in June, leaving her leading a fragile minority government and in charge of a Conservative Party divided on how best to manage the split from the EU.

On Tuesday, the focus of an eight-day debate which has already forced May’s ministers into some concessions, fell on the government’s plan not to include the Charter of Fundamental Rights in its mass “cut and paste” of EU law.

The government, which says there is no need to copy across the EU charter because all it does is codify rights that exist through other legal instruments, headed off a potential rebellion by promising a review and possible technical changes later in the lawmaking process.

“We do recognise the strength of views... and we are prepared to look again at this issue to make sure that we are taking an approach which can command the support of this house,” said the government’s Solicitor General Robert Buckland.

That was enough to dissuade dissatisfied members of May’s party from joining forces with opposition lawmakers to force an outright U-turn on scrapping the charter.

The government still intends to scrap the EU Charter of Fundamental Rights, but says citizens will not lose any of the existing rights the document sets out.

During the debate, critics - including members of May’s own party - argued that abandoning the charter was an unnecessary risk and in its current form diluted some citizens’ rights and created uncertainty over the protection of others.

The rights charter came into force in 2009 through the EU’s Lisbon Treaty and brings together the fundamental EU-protected right in a single document.

It is one of only a handful of exceptions contained within the government’s Brexit blueprint which sets out to preserve EU law after Britain leaves the bloc to give businesses certainty that they won’t face overnight rules changes.

The bill is currently at an early stage in the lawmaking process.

The government has so far avoided any defeats, but has had to make last-minute concessions on several points. Tuesday’s concession concerned a technical issue around how certain types of EU law should be treated after Brexit.

The toughest test of May’s authority, set to centre on the issue of fixing the date and time of Britain’s EU exit in law, is yet to come. No date has been set yet for the remaining five days of debates that make up the current stage of the bill’s passage.