MySQL 5.7.34 not disabling STRICT_TRANS_TABLES whatever I do

I’m trying to disable STRICT_TRANS_TABLES on MySQL 5.7.34 and, no matter what I do, the option is always enabled. I put manually on my.cnf sql_mode=NO_ENGINE_SUBSTITUTION and no other modes, when I restarted the service, the SELECT @@sql_mode returned STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION. No matter what modes I put, excluding STRICT_TRANS_TABLES, it’s always appending this option to the ones I choose. But, if I query SHOW GLOBAL VARIABLES WHERE variable_name = ‘sql_mode’, it shows the value that I put without STRICT_TRANS_TABLES. I need to disable this, as ODI repositories has this requirements when installing it with MySQL as the DBMS. What am I missing, is it impossible to disable this option in MySQL 5.7.34?