Yes. Mouthing off in Court and being disrespectful to the Judge, speaking when not asked to speak. Yes they were warned, but the it's like two strikes and you're out (in handcuffs and sitting in jail for a while). That's one if the reasons there are armed and uniformed Court Officers in every NYS court of record in the Unified Court System, and I've seen numerous people held in contempt for being disruptive, especially in Family Court and Criminal Courts.

This answer is provided under the Avvo.com “Terms and Conditions of Use” (“ToU”), particularly ¶9 which states that any information provided is not intended as legal advice or to create an attorney-client relationship between you and me or any other attorney. Such information is intended for general informational purposes and should be used only as a starting point for addressing your legal issues.
In particular, my answers and those of other attorneys on Avvo.com are not a substitute for an in-person or telephone consultation with an attorney licensed to practice in your jurisdiction about your specific legal issue. I can only answer your question based on the brief statement of facts you present in your question which may omit other relevant facts which would be disclosed in an in-person interview. While I attempt to provide reasonable care in answering your questions in an online forum which encourages attorneys to provide brief "off the cuff" responses within several hours of the posting of a question, I cannot perform any further detailed legal research concerning possibly relevant statutory or case law which might apply to your situation that I would normally do in the course of my representation of clients where an attorney-client relationship exists (and you are paying for my services!). You should therefore not rely solely upon legal information you obtain from this website or other resources which may be linked to an answer for informational purposes. You understand that questions and answers or other postings to the Site are not confidential and are not subject to attorney-client privilege. The full Avvo ToU are set forth at http://www.avvo.com/support/terms .
In addition, while similar legal principles often apply in many states, I am only licensed to practice in the State of New York and Federal Courts. Any general information I provide about non-New York laws should be checked with an attorney licensed to practice in your State. Lastly, New York State Court rules (22 NYCRR Part 1200, Rule 7.1, available online at http://jackle.bo/_prof ) also require me to inform you that my answers and attorney profile posted on the Avvo.com site may be considered "attorney advertising" and that "prior results do not guarantee a similar outcome".

Normally people are held in contempt for being rude to the court and/or ignoring an order. Most of the time there will be a warning. However, if the behavior is really offensive and upsets the judge enough, then the judge could choose to just hold the person in contempt immediately.

I am licensed in Pennsylvania. Members of my firm are licensed in various states, including Pennsylvania, New Jersey and New York. We handle cases involving personal injury (car accidents slip and falls, etc.,) medical malpractice, nursing home abuse, workers' compensation and social security disability.
This post is not legal advice, but instead contains general educational information. Please do not act or refrain from acting based upon what you read in this post. Also please remember that this post does not form an attorney/client relationship between you and me.
If you have specific legal questions, you should contact an attorney in your state for assistance.