Remove invisible tag from folders not owned by my user

Hi everybody, I have set up automatic deletion of older files following Nextcloud docs ( and set up a Nextcloud Flow that adds “retention” tag to every file or folder uploaded by user. After 15 days, every element tagged with “retention” is deleted.

Everything works as expected, but I would like to remove the auto-added “retention” tag from some folders to prevent those folders from being deleted. Since “retention” tag is an invisible tag, and my admin user can not access those folders since they are property of another user and not shared, how can I remove “retention” tag from folders that my user does not own?