Judge in Portugal stands up to police