Judge denies request to reopen gyms and restaurants