role of intermediate courts of appeal