You can refer to a group of police officers as "the police". It doesn't necessarily mean the organization as a whole, but it does refer to a group of people who are all members of the organization.
"The police" can, depending on context, refer to two or more officers in a specific location ("I got pulled over by the police today"; "Rioters threw stones at the police"), the police department of a particular city ("The police are corrupt, they're all on the Kingpin's payroll"), or all police everywhere ("The police don't protect people like me.")
You can interpret this as 'the police' being used as a collective noun, or you can read it as synecdoche, referring to the organization as a whole to talk about individual parts of it (similar to how you could talk about America doing something or Spain doing something when you really mean the government of that place or the people of that place). I'm not sure which one would be more technically correct.