Court rules