Court says dinosaur fossils worth millions aren’t minerals