Python uses the MongoClient/Database/Collection write concern and later removes it from the command. But now that unacknowledged writes with explicit sessions are prohibited (PYTHON-1483) this way of removing the writeConcern field does not work and instead raises a ConfigurationError when the MongoClient/Database/Collection is configured with unacknowledged write concern.
We should configure transaction write operations with the proper write concern from the start.