Jaskeerat Singh Gulshan, 29, said he burst into tears after being forced to remove his kirpan, a small ceremonial dagger and one of the five articles of Sikh faith that must always be worn.
He claims he felt discriminated against during the incident at Ealing Magistrates’ Court in West London and is now afraid to enter other courts.
However, Justice Department chiefs said security guards had followed the “correct procedure” and wanted to check their kirpans to make sure they were complying with security guidelines.
Mr Gulshan, co-founder of the Sikh Lawyers Association, said he might even consider changing his career to avoid going into court buildings.
The immigration and family attorney, who was on trial to assist a witness, said he and his brother had been asked to remove their kirpans so they could be measured by a female guard.
Security guards told the couple that kirpans may only be six inches long and that a blade is no longer than four inches.
He said, “I am a lawyer and have attended courts with the same kirpan regularly for the past seven years and I have never had a problem.
“The security staff had no knowledge of Kirpans and kept referring to the Kirpan as a knife.”
After waiting an hour and a half for security personnel to review the guidelines with the judges, Mr. Gulshan and his brother were allegedly asked to “leave the courthouse or hand over the kirpan.”
Mr Gulshan, from Southall, west London, claimed that a security officer made him feel “rebellious” and “kept yelling at me and telling me to leave the building”.
“Your behavior towards us has been insulting and degrading,” he claimed.
“At that point, I suggested that the senior security officer remove my kirpan and leave it in my car as I wanted to return to the court.
“I felt harassed, embarrassed, humiliated and discriminated against by the actions of the security personnel.
“I was forced to leave my kirpan because I couldn’t leave the victim alone in the courthouse. I tearfully removed my kirpan and left it in the car glove box while apologizing to God and sorry for doing what I’m doing shouldn’t have to do. “
He added: “I am now afraid of going to other courts as a lawyer and I am so afraid Incidents can occur again and I’ll be forced to remove my kirpan.
“When I remove my kirpan I feel that I am forbidden to practice my religious values and I have no plans to do so in the future.
“When I’m not allowed to wear Kirpan In the courthouses, I will consider changing jobs in the future and I will not practice law. “
A Justice Department spokesman said: “Two members of the public were banned from entering the court after refusing to work with staff who wanted to check their kirpans to ensure they were in compliance with HMCTS safety guidelines.
“They decided to leave their kirpans in their car and come back to court without them.”
The Justice Department said that if a member of the Sikh community is to attend the court, the entire kirpan need not be more than six inches in length, with a blade no more than four inches in length.
He later added that these requirements have been provided and are available through the Sikh Council.
The Sikh Council was asked to comment.