Court Quality and Economic Resilience