What legal document allowed customs officers to search any location to look for smuggled goods?