A dad who admitted killing his two young sons claims being thrown out of a library may have been the trigger for the horrific murders.

Ashok Kalyanjee, 52, is serving at least 21 years for killing two-year-old Jay and Paul, six.

Kalyanjee claimed he suffered from a mental disorder that was undiagnosed when he pled guilty at the High Court in Glasgow six years ago.

His lawyers last week told the Court of Criminal Appeal in Edinburgh that he was denied the chance to plead diminished responsibility because of poor medical advice. And they claimed Kalyanjee’s guilty plea led to a miscarriage of justice.

The court heard evidence that an incident when Kalyanjee was thrown out of a library two weeks before the murders may have been preying on his mind.

Carstairs State Hospital psychiatrist Dr Paul Myatt, who examined Kalyanjee five times, described him as “grandiose”.

He said the killer was “sensitive to rebuffs” and had a “tendency to hold grudges”, adding: “People are often hostile to their ex-partners but not to the extent that Mr Kalyanjee was.”

But the psychiatrist said it was not clear how Kalyanjee’s paranoid personality disorder led to the killings.

Dr Myatt said: “He could have made a decision to do something different. He chose not to.

“From what I understand, there was clear evidence Mr Kalyanjee made preparations for the acts he perpetrated. He had the chance to consider what he was doing, and reconsider what he was doing.

“I’m sure Mr Kalyanjee, having paranoid attitudes, would feel he was being disadvantaged by library staff. But I don’t see how that relates to an event two weeks later.

“If he was so overwhelmed with rage about the way he was treated by the library, he could have attacked the library. It is my view he perpetrated the offence to cause maximum distress on his ex-partner.”

Lord Carloway, sitting with Lady Dorrian and Lady Paton, heard the four-day appeal last week. If it is upheld next month, Kalyanjee could stand trial for a second time.

Kalyanjee slashed Jay’s throat then turned his knife on his brother as they sat in his Mercedes car in May 2008.He then burned their bodies near Lennoxtown, Dunbartonshire.

Ex-wife Giselle Ross, 42, from Ruchazie, Glasgow, said: “Kalyanjee is a spineless waster who never took responsibility for anything in his life.

“He was devious and cunning and boasted he knew how to work the system.

“As far as I’m concerned the trigger was fear of his mother finding out about his drinking and gambling.”

(Photo: Mark Anderson)

The Scottish Criminal Cases Review Commission backed Kalyanjee’s claim that despite pleading guilty and having sentence reduced by a quarter, he should have been able to plead to diminished responsibility because of a personality disorder.