Yes, how else could it work? For example if you have a policy to destroy CCTV footage at the end of the day then it’s not illegal to do that. If you have a policy to keep CCTV footage but when the police come and ask you some questions you delete it because you know that it contains evidence of a crime, that’s destruction of evidence. It’s not illegal to delete things, otherwise the world would run out of storage, it’s illegal to delete things to knowingly impede an investigation.