A police officer has admitted giving false evidence at a trial.
Sundeep Patel pleaded guilty at Edinburgh Sheriff Court
Sundeep Patel, 29, told Edinburgh Sheriff Court he had altered evidence to cover-up the accused man's claim that he had acted in self-defence.
The Lothian and Borders officer, based at Bathgate in West Lothian, pleaded guilty to giving false evidence at Linlithgow Sheriff Court in July 2004.
Sentence on Patel, who blamed a culture of racist bullying in the police, was deferred for background reports.
Defence agent Aamer Anwar claimed his client had been the subject of bullying and racial abuse since joining the police force.
"He says he did not know what was going on in his mind " said Mr Anwar " so he falsified the information but did not know why he did it".
A Lothian and Borders Police spokesman said: "We are aware of these allegations and a senior police officer has already been appointed by the deputy chief constable to look into them."
In January 2004, after two years on the force, Patel were called to an alleged assault by a man on a woman.
The man was arrested and Patel as the reporting officer took notes of the interview.
Suspended from duty
Fiscal Malcolm Stewart told the court it was clear from the notebook the accused man, in reply to questions, claimed he had been acting in self-defence.
While Patel was giving evidence, his notebook was produced, and, said Mr Stewart, it became apparent there were significant differences between what was in the notebook and what was in the transcript of the police interview.
The trial was adjourned. and the accused man was found not guilty.
In the transcript, Patel asked the man if he had attacked the woman in the bedroom or living room.
The answer was: "I hit her on the face", while the true reply was: "I never touched her".
Asked why he had hit the woman, the transcript showed the man replying: "Because she was being boring", when the true reply was: "Because she went to stab me and hit me with the frying pan".
The fiscal said Patel was formally interviewed at Lothian and Borders Police headquarters at Fettes in Edinburgh in January 2005 and refused to comment on the allegations. He was suspended from duty.