Court upholds worker rights in labor dispute