Sharing data with LEOs even voluntarily isn’t a breach of the GDPR, this isn’t an ICO finding the ICO will come back to Kong’s Collage and say nope you didn’t violate the GDPR.
The university isn't covered by RIPA (I don't think so anyway, maybe I'm wrong), but the police are and I'd be interested to know if this police request was RIPA compliant.