This is really important to understand. Formality isn't an arbitrary concept invented by old fogies, it's a psychological hack we apply to convince people to take things seriously. People really like joking around [citation needed], so that's hard to achieve. A lot of people develop weird complexes about it, because there are big gaps between otherwise close subcultures in what should or shouldn't be taken seriously, but I hope nearly everyone can agree that court proceedings are a serious matter.