It depends in you MTA or server IMAP configuration. Many of them do not actually store subfolders (nesting depth 1) and just pretend to do so. They then store your “subfolders” as specially named folders as in your example.
You can test this on your server by creating a folder and naming it corresponding to the naming scheme (i.e., use the special character). If under Thunderbirds it is displayed as a subfolder, you have your answer.