Rabbi Ruditsky quotes Rashi, who stipulates that the Levitical text addressing methods of execution for specific crimes is not to advocate the execution, but to underscore the difference between the holy and the secular. Please click to read the full article