Court ruling on access of police to DNA profile databases sets precedent