There is a glitch on the last level.
If you throw your hat on a statue and let the statue get destroyed with your hat on it, your hat does not respawn. If you do try to switch after this then you and the statue are switched, you being behind the grinder things completely safe (until you start moving).