The Jedi Code is a convoluted mess of prim and proper warrior-monk rules. One look at them and they appear to be properly suited for the self-righteous and the sterile (as in, clean). They are also rather brief and even open to many interpretations, but the Jedi hold them in high regard and all their actions are supposedly based on the Code.

RELATED: 25 Crazy Superpowers Jedi's Have (But Won't Use)

Yes, we said "supposedly," because no Jedi is perfect. One of their biggest mistakes is disobeying their own Jedi Code. In fact, based on their beliefs and tenets, some of them (even the Jedi masters) even act in a Sith-like fashion at times, which is highly unbecoming of them. All three Star Wars film trilogies depict at least one prominent Jedi enacting their Sith tendencies one way or another. Here are 10 of those tendencies that should have had them expelled from the Jedi Order.

MACE WINDU'S ANGER AND FEAR

Mace Windu, as badass as he is, is no stranger to the Dark Side of the Force. His fighting style, called Vaapad, is actually a modification of the forbidden Jedi fighting style called Juyo. Juyo requires the rage and anger of the Jedi, which is why it's often avoided. Hence, when Mace used Vaapad to defeat Sheev Palpatine in lightsaber combat, he nearly won.

Then, instead of letting Palpatine stand trial for his crimes as is the Jedi way, Mace wanted to play judge, jury, and executioner. When Anakin executed Count Dooku, it was a sure step on his path of darkness. Now, why would Mace be any different?  His anger and fear of Palpatine is quite obvious, killing him outright will only fuel his Sith tendencies.

THE ARROGANCE OF THE COUNCIL

If the Jedi Council had a Galactic Credit Standard for every time they acted all high and mighty, they would have enough to build another Jedi Temple that isn't situated on top of a Sith shrine. That's how arrogant they are. Moreover, in multiple instances in the original trilogy and the prequels, they were too overconfident.

RELATED: Star Wars: 10 Things The Last Jedi Borrowed From The Empire Strikes Back

They questioned Qui-Gon Jinn's report that there's a new Sith in town. Additionally, they were condescending towards Anakin. They were so comfortable up on their galactic "throne" that they didn't believe the Sith could rise again and strike back. Such hubris didn't fare so well for the Jedi Council, did it? Sadly, they took the whole Jedi Order and the younglings with them.

YODA'S SELF-IMPOSED EXILE

Yoda, being the Jedi Grandmaster, had a huge part in the failing of the Jedi Order. One would think that he would try to make amends while learning his lesson and recuperating in a dung-hole of a swamp planet, but no. No, he didn't. He just hid for more or less two decades after getting his butt kicked by the most meme-able Sith Lord ever.

Saving what's left of the Order, rescuing the younglings, training more Jedi again (correctly), helping the Wookies. Yoda didn't do any of those. He just... became a tiny and senile version of Shrek in Dagobah, cowering in his own swamp. It not only seems selfish, but it's also illogical and quite embarrassing for a Jedi of Yoda's stature.

PUTTING LUKE ON TATOOINE

Another one of Yoda's "brilliant" ideas. Let's have one of the Skywalkers retain his surname and place him on the very same planet that served as the dark side anchor for his father because that's totally safe. It's not as if they don't want Luke to be exposed to the dark side of the Force first, right?

RELATED: 25 Things The Jedi Aren’t Allowed To Do In Star Wars

We can recall that the Jedi avoid any attachment to a family, because it can lead to anger, fear, and even passion. So, why have Luke (who they planned to become a Jedi) exposed to such conventions of human beings? Why not just have Obi-Wan raise and train him as soon as he could walk and talk?

OBI-WAN'S LIES TO LUKE

Speaking of Obi-Wan, even he isn't a perfect Jedi (despite having the moral and physical high ground). The very first moment he meets Luke, he lies to him. Then, Luke asks about his father and Obi-Wan lied... again. He could have just deflected or evaded the question, but since he and Yoda are out of cards against the Empire and the Sith, Obi-Wan just had to manipulate Luke into thinking it was Darth Vader who killed his father.

Sure that's easier for the old and aching Obi-Wan to explain. He didn't want to launch into the story of how he barbecued Luke's father. However, he could have spared Luke the awkward family reunion and actually let him decide what he wanted to do with his father. Not cool, Obi. Lying is the way of the Sith. That's how Palpatine managed to hide for so long under the Jedi radar.

DABBLING INTO POLITICS

The Jedi have no business having a hand in politics. After all, they're supposedly a religious organization, of peacekeepers to boot. Apart from that, they are powerful beings already, and desiring more power or control through politics reeks of Sith. Still, that didn't prevent the Jedi Council from playing some political cloak and dagger by using Anakin to spy on Palpatine.

RELATED: Star Wars: 10 Quotes About The Jedi

Again, that didn't end so well now, did it? They basically gave the Sith Lord what he wanted. Prior to his involvement with Palpatine, Anakin has also had highly political or even romantic "liaisons" with Padme Amidala, an accomplished senator. Let's not forget: the Jedi declared themselves generals of the Clone Wars believing that the Republic was on the right side of the Force. Oh well; twice the pride, double the fall.

QUI-GON JINN, THE RULE-BREAKER

Qui-Gon Jinn and Watto from Star Wars Episode I The Phantom Menace

While Qui-Gon Jinn can appear to be a humble Jedi Master when compared to Mace Windu or even Yoda, he's actually quite a naughty boy. Throughout his many missions with a young apprentice Obi-Wan in tow, Qui-Gon has cut corners many times; he breaks the rules often and knows how to play dirty. He even tried to cheat Watto using a Jedi mind trick, which awkwardly failed.

It's not just rules of galactic civilizations that Qui-Gonn failed to follow. Even the Jedi Order and the Jedi Council has had problems with him in the past, since he kept failing to follow the Jedi Code and some of their smaller rules. Qui-Gon was one of the few people who could defy the Jedi Council and get away with it. Does that make him cool? Sure. You know who else is cool? The Sith.

ANAKIN AND HIS MOTHER

Alright, so Anakin alone could have filled this list with all his shameless flouting of the Jedi Code. However, some of his Sith tendencies were sparked by his bond with his mother. You can't blame him, really. The two were slaves on Tatooine and his mother showed selfless love when she let go of Anakin so he could have a better life.

RELATED: Star Wars: The 10 Most Hated Jedi

This made their eventual reunion all the more tragic. The last time he ever saw Shmi was at her death at the hands of Sand-people. Such emotional burden gradually took its toll on Anakin. He grew to hate the Jedi for wanting him to move on from his mother's death as if she was never a part of his life. While such an event gave birth to one of Anakin's Sith facades, it also exposed how flawed the Jedi Code can be.

ANAKIN AND PADME

His relationship with Padme Amidala was Anakin's second biggest mistake, which led to him fully becoming a Sith. It seems his mommy issues got the better of him and he sought someone to fill in that love gap-- Obi was boring; C3-PO talks too much; Jar Jar was, well, Jar Jar; so that leaves only Padme. Unlike his mistake with his mother, Anakin actually had a choice here and it's easy to see the proper action he should have taken, based on the Jedi Code.

While he's not the first Jedi to fall in love, part of the blame also goes to the Jedi Council for just watching idly by as one of their prized Jedi Knights married a senator. We're pretty sure that that kind of rule-breaking would have gotten Anakin expelled from the Jedi Order; he would have become a Sith either way. It was a dumb move from the Council too; who thought it was a good idea to turn the most emotional boy of the Jedi Order into a personal bodyguard for a beautiful queen?

LUKE WANTED TO KILL BEN SOLO

Only the Sith deal in absolutes-- Obi-Wan should have imparted those words to Luke; he did it to Luke's father anyway. Had he done that, Luke probably would not have lost his head and tried to kill his own nephew, Ben Solo. Not only did he fail to kill Ben, but he also gave birth to Kylo Ren. Basically, Luke undid all his hard work back in his youth, just because he feared Ben's great power.

For that deplorable deed alone, Luke does not deserve to be called a Jedi, much less a Jedi master. In fact, we don't even know what to call him any more, given that he made one of the worst mistakes ever in the history of Jedi masters. It would have been more acceptable if it was Luke who became the Sith. At least that way he could have fully embraced his hypocrisy.

NEXT: 5 Ways The Last Jedi Made Star Wars Worse (And 5 Ways It Made It Better)