When emergency service such as ambulance is called they need to know individual’s personal information to identify and referred the patient.
If police or law enforcement officer are involved to investigate any crime then they may need to know anyone’s personal information related to the crime.
If it is believed that countries security has been compromised then data protection act doesn’t apply to keep any data confidential.