Restaurants reopen for dining after judge's ruling