Court backs 2003 restrictions on farming quail