If you are using Outlook.com as the IMAP mail server, or a similar service, I would suggest that these two folders are part of the server's functionality and are therefore protected from deletion.
I may stand to be corrected, but that would be my guess.
Kind regards,
Steve