After starting a session, you cannot modify its
causalConsistency setting.

Note

The session may have causal consistency enabled even
though the Mongo connection object may have
causal consistency disabled or vice versa. To set causal
consistency on the connection object, see
Mongo.setCausalConsistency().