Falkirk MP Eric Joyce has been fined £1,500 after admitting using threatening or abusive behaviour at an airport last year.
The 53-year-old entered a guilty plea to one charge when he appeared at Edinburgh Sheriff Court today.
The charge related to an incident at Edinburgh Airport on May 19 2013.
Speaking outside court, Joyce said he would "reflect" on whether to continue as an MP until 2015.
He said: "My instinct is to stay but I don't know how I will feel in a few days."
Joyce also apologised to the airport staff, police and his constituents.
"I am very embarrassed that this has happened," he said.
"My constituents have seen this before, so they might think other apologies are not meant, but they are."
Asked if he had a problem with alcohol, Joyce said he had addressed such issues.
"I think I am well past that now," he said.
Joyce had been drinking on an evening flight from Heathrow to the Scottish capital, realising later that he left his phone on board, the court heard.
He asked airport baggage handlers for help but became abusive when they asked for flight details.
Police officers became involved but he continued to hurl insults.
Joyce repeatedly called a baggage handler and officers "fat, f****** w******" and goaded officers to "f****** arrest me".
He also referred to an officer of Afro-Caribbean origin as "f****** fat and black".
Joyce began to "flail his arms" when one officer attempted to put him in handcuffs, and he continued to resist until he was restrained on the floor.
Sheriff Frank Crowe described his actions as a "deeply unfortunate, prolonged, drink-fuelled rant".
"At least you have taken this opportunity to apologise," the sheriff said.
As well as imposing a fine, the sheriff ordered Joyce to pay £100 compensation to airport staff and £50 to the police officer he racially insulted.
Defence lawyer Euan Gosney said Joyce was in a "high state of anxiety" because of the recent death of his brother and previous trouble with police.
"He accepts that he allowed this baggage to get on top of him, to get the better of him," he said,
"When he was faced with what he perceived to be a lack of assistance, he allowed himself to become emotional, to overreact, to become abusive."
Mr Gosney, who said Joyce does not intend to seek re-election, added: "A conviction of this nature will inevitably make a return to any form of public life difficult, if not impossible."
Joyce became an independent MP after he was expelled from the Labour Party following his conviction for assaulting politicians in a House of Commons bar in 2012.
The former Army major was fined £3,000 and banned from pubs for three months following the brawl in the Strangers' Bar.
Joyce's arrival at Westminster in 2000 came shortly after he quit the Army, making claims of snobbery, sexism and racism in the armed forces.
He was elected to Parliament as Labour MP for Falkirk West in a by-election.
He increased his majority in the general elections of 2001 and 2005 when the constituency was renamed Falkirk after constituency changes, and held on by a comfortable margin in 2010.
Why are you making commenting on The Herald only available to subscribers?
It should have been a safe space for informed debate, somewhere for readers to discuss issues around the biggest stories of the day, but all too often the below the line comments on most websites have become bogged down by off-topic discussions and abuse.
heraldscotland.com is tackling this problem by allowing only subscribers to comment.
We are doing this to improve the experience for our loyal readers and we believe it will reduce the ability of trolls and troublemakers, who occasionally find their way onto our site, to abuse our journalists and readers. We also hope it will help the comments section fulfil its promise as a part of Scotland's conversation with itself.
We are lucky at The Herald. We are read by an informed, educated readership who can add their knowledge and insights to our stories.
That is invaluable.
We are making the subscriber-only change to support our valued readers, who tell us they don't want the site cluttered up with irrelevant comments, untruths and abuse.
In the past, the journalist’s job was to collect and distribute information to the audience. Technology means that readers can shape a discussion. We look forward to hearing from you on heraldscotland.com
Comments & Moderation
Readers’ comments: You are personally liable for the content of any comments you upload to this website, so please act responsibly. We do not pre-moderate or monitor readers’ comments appearing on our websites, but we do post-moderate in response to complaints we receive or otherwise when a potential problem comes to our attention. You can make a complaint by using the ‘report this post’ link . We may then apply our discretion under the user terms to amend or delete comments.
Post moderation is undertaken full-time 9am-6pm on weekdays, and on a part-time basis outwith those hours.
Read the rules hereComments are closed on this article