The effect of taking an oath is to allow the law to punish you if you lie after taking the oath.