I tried this with both MongoDB 7.0.3 and 7.0.6 using mongosh and node.js with the 6.5.0 version of the driver.
The only way I can replicate this is on a cluster that has been upgraded from MongoDB 6.0 and has not completed the update by setting the FeatureCompatibilityVersion(FCV) to ‘7.0’
The current FCV can be checked using mongosh with this command: db.adminCommand({getParameter:1,featureCompatibilityVersion:1})
Upgrade Procedures documentation can be found here: https://www.mongodb.com/docs/manual/release-notes/7.0/#upgrade-procedures