To intercept the filter, the file app/src/interfaces/_system/system-filter/input-component.vue was modified.
Inside the onInput function, isInputValid.value was forcefully set to true based on a condition, which allowed the filter to be changed.
Note: This is only possible when using a custom Directus image, since it requires modifying the source code and cannot be done through a Directus extension.