The scripture never explains why he was permitted to do something against the law, but can anyone deny he was given that permission?