Protection and encryption are different things
Excel lets an author protect a sheet so that cells are not changed by accident. That setting is stored as a flag inside the file, and the data itself is not scrambled. Microsoft describes it as a way to prevent mistakes, not as security.
Encrypting a workbook with a password to open is different: the contents are unreadable without the password. The tools here deal only with the first kind.
Questions
What kinds of protection can be removed?
Worksheet protection, which stops cells being edited, and workbook-structure protection, which stops sheets being added, renamed or deleted.
Can these tools open a file that needs a password to open?
No. A password to open encrypts the whole file. Without it the contents cannot be read, by these tools or any other that works honestly in a browser.
Is it legal to remove protection?
On a workbook that is yours, or that you have permission to edit, yes. Do not use the tools on files you are not entitled to change.