The state Supreme Court ruled Monday that police need a warrant or an emergency to enter someone’s home and use evidence they find there.