Dreaming about a court can be explained as a place where people are judged. It can represent an event, situation or the person who is judging the dreamer. It may be coming from an actual trial going on in your life at that time or simply your own discomfort with being judged by others over something or feeling guilty about something that has happened.
The court in a dream is also associated with justice, law, rules and regulations. Be aware that law and order may be knocking on your doors in the future.