That would comply to regs,one that is suitable for the area in IP rating,noticed on holiday in spain all light switches were Ip rated in bathrooms,no pullcords,i normally fit outside if they dont want pullcords,but still dont think its great to have it within,i would suppose they dont want it outside because of others turning them on/off,wireless remote sensors might solve a problem,may be a bit expensive compared to normal switch,and what if the iee change regs again next year and no switches of any sort allowed in bathrooms.