South Africa's President Cyril Ramaphosa has tried to head off a major row within his uneasy governing coalition by delaying the implementation of the most controversial part of a new education law.
A dispute over language policy had threatened the stability of the 10-party government created after the African National Congress (ANC) lost its parliamentary majority for the first time in May's election.
Speaking before he signed the new measures into law at a public ceremony, Mr Ramaphosa said there would now be a three-month consultation period.
But John Steenhuisen, the leader of the coalition's second largest party, the Democratic Alliance (DA), has since reiterated the plan to challenge the new law in court.
Now partners in government, the ANC and DA had previously been bitter rivals.
While welcoming the idea of further talks, Steenhuisen said that the reforms in the Basic Education Laws Amendment (Bela) law threatened the constitutional right to mother-tongue education and this must be protected in any negotiation.
The president says he now wants the parties in government to find ways for "different views [to] be accommodated".
The disputed law, passed by the previous ANC-dominated parliament, outlines controversial and significant reforms to existing education law.
The major changes include:
The ANC says the changes are necessary in order to transform the education system and address continued inequalities.
Experts say that South Africa's education system needs to drastically improve.
In 2021, it ranked last out of 57 countries assessed in the Progress in International Reading Literacy Study, which tested the reading ability of 400,000 students around the world.
The clause which has caused the most controversy is the one concerning strengthening government oversight over language and admission policies.
This is a sensitive topic relating to racial integration.
The previous ANC government argued that language and other admission criteria were being used to “derail access to schools [for] the majority of learners”.
Even though apartheid – a system of legally enforced racism – ended more than three decades ago, the racial divide it created still persists in some areas of education, with previously white schools still far better equipped than those serving mainly black communities
Afrikaans is not specifically mentioned in the legislation, but the ANC says that some children are being excluded from schools where the language of the white-minority Afrikaners is used as the medium of instruction.
The DA has defended the right of school governing bodies to determine their language policies, citing the constitution and the importance and protection of learning in one's mother-tongue.
The strongest opposition has come from the Afrikaans-speaking community.
Civil rights group AfriForum has described the bill as an attack against Afrikaans education and has said it remains committed to opposing the legislation as “it poses a threat to the continued existence of Afrikaans schools and quality education”.
The Freedom Front Plus - another one of the 10 parties in the coalition government and seen as representing the interests of Afrikaners - is also opposed to Bela. It called it "ill-conceived", saying it would "cause needless uncertainty and disputes about clearly established rights and responsibilities related to Basic Education".
Some are also concerned about the reforms to home schooling. There are currently many unregulated schools popular with the middle classes because of the poor state of government schools.
These are allowed to continue through a loophole in the current law where the students are registered as “home learners” and the teachers offer “tuition”. But through the Bela bill, the government wants to close the loophole and ensure they are regulated like state schools.
In his immediate reaction to the signing, DA leader Steenhuisen did not sound satisfied, saying that the party's lawyers would continue to prepare for court action.
Ramaphosa's proposal to delay the implementation of the language measure is a response to the DA's proposal of changes that it said would make the reforms acceptable.
But after three months they may still find themselves in the same position they are in now, and the president said the law would be implemented as it is if no compromise is found.
Steenhuisen described this as a "threat" that was contrary to the spirit in which the coalition was formed in the first place.
"If this is just a delaying tactic to defuse opposition before implementing the clauses at a later point, then we will continue to fight this bill with everything we have got, including in the courts," he said in a statement.
On Thursday, though, Steenhuisen insisted that conflict over policy was not necessarily “an existential threat to the government”.
There are now three more months to find out whether this is true.