Doesn't cat form work as well?
Yup there are actually multiple ways to open the chest.The code is just the "normal" way.