In IMAP, nesting is carried by a string rather than a structure: Clients/2025 is the folder 2025 inside the folder Clients. Which character separates them is the server decision, and the protocol allows that.
Dovecot and most modern servers use a slash. Courier has always used a dot. Older Cyrus builds use a dot as well, and Exchange gateways sometimes present a backslash.
A client is supposed to ask the server for the separator with LIST and use that one. Skip it — as simple scripts and some in-house tools do — and the folder name travels to the other server unchanged, where it now means something else.