United States marshals, deputy marshals and such other officials of the Service as may be designated by the Director, in executing the laws of the United States within a State, may exercise the same powers which a sheriff of the State may exercise in executing the laws thereof.