Ever wonder why it says that Rahab did what was good by lying (James 2:25; Josh. 2:3-6)? Or why Jehu's actions were approved of by God (2Kings 10:30), although it included lying (2Kings 10:18-19)? Or how come, in order to obey the Lord and bring about two witnesses to witness evil done (Matt. 18:16), speaking evil of that brother must first be done (thus, the Lord's words override James': James 4:11)? The solution to this problem, is that "the end justifies the means". Careful thought should be made about what end it is that one is trying to achieve, if this method is being sought, though. If the end is evil, and one is trying to do something evil in order to achieve that end, then that end certainly doesn't justify the means.