Simpson
A Bart Simpson, not pictured, was sentenced to a 12-month community order by a Judge Burns in a British court on Monday. The names are the same as two characters in the animated American program "The Simpsons." Twentieth Century Fox Film Corporation

A real-life Bart Simpson was sentenced by a Judge Recorder Burns in a Warwick Crown Court in the UK. The odd coincidence turned a simple court hearing into an episode of “The Simpsons.”

The Daily Mail reported on the case involving one Bart Simpson, a company director who goes by the name of Barton Simpson, who happened to be carrying a .38 Smith and Wesson revolver in his luggage at a Birmingham airport in May 2012.

Burns was not as harsh as Charles Montgomery Burns, owner of the Springfield Nuclear Power Plant on “The Simpsons,” and sentenced Simpson to a 12-month community order that will include 140 hours of community service. Simpson was also required to pay £800 ($1,200), reports the Daily Mail.

Simpson was on his way to Croatia and had the revolver in his carry-on luggage when it was detected by an X-ray machine. Talking to police, Simpson claimed he had forgotten the gun, inherited from his father, was in his bag, notes the Daily Mail.

Simpson’s apartment was undergoing renovations, and he decided to stow the gun, because he did not want to get it stolen. Simpson received news of the death of his son’s friend prior to arriving at the airport, and, instead of leaving the gun locked in his car, he left it in his luggage.

“It was a very stupid thing you did," Burns said at the setencing. "You must be punished for it, but I think you can be dealt with by way of a community order,” according to the Daily Mail. A court worker noted the bizarre coincidence to the newspaper but said that the case would be tried like any other criminal case.

While it’s a bizarre coincidence, the situation could have been even stranger if a Judge Skinner was presiding over the trial of Bart Simpson. In “The Simpsons,” Bart Simpson is usually the cause of frustration of principal Skinner. Mr. Burns runs the nuclear power plant and is the boss of Bart’s father, Homer Simpson.