Another reason could be due to smokers. There's a reason toilets on airplanes still legally need to have an ashtray - there's still people who are willing to break the rules to have a fix so it's safer to at least provide somewhere safe to put a cigarette out.
Charging for the toilet could just encourage those same people to light-up in the main cabin.