The police don't need a court's permission to investigate or know things about you. They might need various court orders to invade private property, take stuff, or coerce third parties to help them. But they can also just knock & ask nicely.
and when you say i have nothing to discuss with you, and no business to conduct, goodnight, and leave me to my home and family they are supposed to similarily say sorry to bother you and leave.
you have the idea of a warrant on the button, as permission to violate certain legal rights.