Pakistan 's Supreme Court has declared unconstitutional a bill passed by a staunchly Islamic province to enforce Islamic values on society with the help of so-called religious police .