All courts are public buildings and almost every court hearing is open to anyone, on the principle that justice should be seen to be done. In a "closed court", the public is excluded. This may be done for various reasons, primarily to protect witnesses or any leak of sensitive information.