Police can also search your car if you consent (agree) to it being searched.
Before police can search your car, they must prove that they are a police officer. They should tell you their name and police station and tell you the reason why they are searching your car