The California Supreme Court ruled Monday that authorities are legally entitled to collect DNA from suspected felons when they are booked into local lockups, overturning a lower court ruling that questioned the constitutionality of the practice.