law the heirachy of court