Is the word "remove" used in the same way in the following two sentences?

Remove a case to another court.

Doug removed the smudges.
different meanings