Invokes it to whom?
The approach of "pray the gay away" is misleading in isolation. It's far more "pray the straight in." Avoiding the sin is helpful and the better it is avoided the more helpful it is, but the conquest is in building and setting up a stronger entity. God can rebuild the cities of our minds even under great siege and repeated petty incursions. Sooner or later the city is ready to be ruled by the King and then the battle turns decisively.
Very good point.