Not exactly:
law enforcement has GDPR exemption, but it should apply to other branches of government. There's a controversy over this in the UK:
https://www.theregister.co.uk/2018/03/05/uk_government_legal...Should the government be obliged to allow you to correct information that may otherwise be used to deny you residency? Absolutely.