The parents of a schoolgirl who was crushed to death by a wall as she changed for PE have said they believe fellow pupils' evidence to the inquiry is credible.

Keane Wallis-Bennett's parents' advocate told a Fatal Accident Inquiry that PE teachers had a motive to deny that concerns the wall was "wobbly" had been reported.

Gavin Anderson said in his closing submission that Keane's family wanted to praise a pupil who gave evidence earlier this week, revealing she had leaned against the wall shortly before the incident at Edinburgh's Liberton High.

But the council's QC said it was the pupils' evidence which was unreliable.

Mr Anderson said Keane's parents wanted to thank a pupil who revealed she'd leaned against the wall just before the incident at Edinburgh's Liberton High.

They praised her maturity and courage in giving evidence and insisted they were not looking to blame her for what happened.

A number of pupils said they had reported concerns about the wall to staff in the PE department.

But teachers denied any knowledge of warnings of a so-called wobbly wall before the tragedy in April 2014.

The court was told that the conflicting reports from pupils and teachers could not be reconciled.

Mr Anderson said the children had no motive to fabricate stories, but PE staff would be concerned about their professional reputation and the public reaction if they admitted they had not taken action.

He argued any alleged failure to report the concerns was relevant to the inquiry.

He said: "It's my submission that [the girl] was a credible and reliable witness who did her best to tell the whole truth, albeit she can't remember precise details...

"The parents don't seek to blame [the two girls] for what occurred...

"Whilst the parents have had to wait until the closing stages of the inquiry to find out what happened behind the wall that morning, they recognise and acknowledge the courage and maturity which [the pupil] showed in coming to the inquiry and giving her full knowledge of the events of April 1, 2014."

He questioned the motive of children to lie in the aftermath of the tragedy, saying: "Were separate children liable to lie to separate specially trained police officers on separate occasions?

"It would seem odd that [another child witness] would begin to facilitate a web of deceit in the wake of such an incident.

"In my submission one might think it somewhat remarkable that this then 13-year-old would deliberately fabricate a story against [the teacher]."

Fiscal depute Gary Aitken said some pupils had told the police they had warned teachers that the wall was "wobbly" and moved.

The teachers, he said, had been quite clear there had been no such reports.

He said: "There is no particular reason why children would be mistaken about telling teachers," adding: "similarly there is no reason why teachers would not report this."

The procurator fiscal said it wasn't for the inquiry to decide who was at fault, but to establish the facts of an incident.

The QC acting for the council said it was the pupils' evidence about the wall being unstable which was inconsistent and asked the court to prefer the accounts of teaching staff.

Sheriff Mhairi Stephen told Keane's family that she would give her determination as soon of she possibly could.