Driving barefoot

I was stopped by a traffic police who peeped inside my car and questioned me why I was driving barefoot. I told him that it is not an offence to drive barefoot and he asked me which law allows me to drive barefoot. I was unable to continue with the argument because I was not sure whether there was any such law. I told him most of the women who wear high heels remove their shoes to drive and that would mean all of them commit an offence as well. Please guide if I committed an offence.
LK, Dar

Traffic offences are prescribed under the Road Traffic Act [Cap.168 R.E 2002], the Road Regulations and other subsidiary legislations made under the Road Traffic Act. We have read the Road Traffic Act and the subsidiary legislations made thereunder especially the Road Traffic (Notification of Offences) Regulations, 2011 which summarise all minor road traffic offences liable to notification but could not find a provision that prohibits driving barefoot. Our opinion that you can cross verify with your lawyers is that since there is no law prohibiting driving barefoot, it is not an offence to drive barefoot. The fact that women wearing high heels remove their shoes when driving does not change our response or your defence.