A police officer has been left red-faced after an embarassing mishap during a Zoom court hearing.
A Zoom call has captured a police officer without his pants as he identified himself for a virtual hearing.
The scenario happened earlier this week during a hearing in Detroit's 36th District Court, where a woman faced a charge of drag racing.
District Court Judge Sean Perkins was seen at his bench. The defendant, her attorney and Officer Matthew Jackson from the Detroit Police Department's 12th Precinct were all participating virtually via Zoom.
READ MORE: AI chipmaker Nvidia is the first $US5 trillion company
The defendant had just agreed to accept the plea offer on her case on drag racing and disorderly conduct, with other charges to be dismissed. And then Judge Perkins called upon the officer.
"Officer Jackson? Good morning to you. Can you put your appearance on the record, please?" Perkins asked.
In response, Jackson held up his hand and gave his name. The camera on the computer he had logged onto showed a view of him wearing a uniform shirt and badge.
That initial view of Jackson also showed his bare legs, without his uniform pants.
The defense attorney, whom one of the next camera views showed, was seen with a puzzled look on her face.
The camera view went back to the judge, who appears to have noticed the camera monitor at his desk.
"You got some pants on, officer?" the judge asked in response.
Jackson repositioned his camera closer to his face and began to say, "Sir, they're in the ..." Then he broke off that sentence and said, "No, sir."
The judge then quickly pivoted the discussion towards the defendant, calling her name and continuing the proceedings.
The dress code for the 36th District Court says casual business attire is preferred.
The dress code prohibits wearing shorts, cutoffs, skorts "and other clothing which is not suitable in a court or any other professional environment" for a hearing.
In the aftermath of the uniform view — and subsequent attention to the video — Detroit Police Chief Todd Bettison issued a statement.
"The Detroit Police Department requires its officers to represent themselves in a dignified and professional manner while attending court proceedings," he said.
"The involved officer's actions are not representative of the professionalism of this department and will be appropriately addressed to maintain the public confidence and efficient operation of this department.
"Our apologies are hereby extended to the judges and staff of the court, as well as anyone else who may have been in attendance during this incident."
As for the hearing, the defendant's charge was amended from reckless driving. She pleaded guilty and was fined $US240 upon the conclusion of the hearing, court records show.
Sign up here to receive our daily newsletters and breaking news alerts, sent straight to your inbox.

