Yes. You get the warning message that you can't do that in your form, and you don't turn into a ratman.
Also, I noticed that a tamer's pet didn't turn into a ratman either -- that would be relatively new, 'cause I can remember when they did.
I also remember when people would stable a pet that had been ratman-formed, and thereafter the pet would remain a ratman-form.