How do the three types of courts relate to each other?