A police officer’s entry into a parked car, allegedly to verify the driver’s health status, can’t be justified by the community-caretaking doctrine, a New Jersey appeals court ruled on Wednesday.

There was no basis to conclude the officer’s actions were not intended to detect, investigate or acquire evidence of drunken driving, the court said in suppressing the evidence in State v. Bennett.