Polish president evokes country's May 3 Constitution as template for security