In the 23rd century, Section 31 was still a subdivision of Starfleet Intelligence, which still had oversight of Section 31's ...
Before transporters had technology to filter out contaminants Starfleet officers followed a decontamination process.