BG Chap 9 - The nature of Kṛṣṇa's love for His devotee
The quality of being controlled by pure bhakti is Kṛṣṇa’s very nature and cannot be given up. Even if the devotee commits the most abominable action, the Lord still takes care of His devotee and make the devotee come up to the highest standard. Even if the most sinful person worships Him with no other desire than to please Him, the Lord considers such a person to be His devotee, as the devotee has fixed himself completely in the Lord. If a person addicted to violence, thievery, or adultery worships Kṛṣṇa, and worships no one but Kṛṣṇa, and does not follow any other process like karma or jñāna, he is still to be considered a devotee because of his devotee qualities. Not doing so is an offense and one disobeys the order of the Lord. Such a person should be considered a devotee in all respects, not just when He worships Kṛṣṇa. One should not see his bad qualities at all, for that person has made a splendid resolution that he would go to hell for his sinful actions but he would not give up dedicated worship of Kṛṣṇa. The moon though having spots on it is never defeated by darkness. Similarly a person having exclusive devotion to Lord Hari is still glorious even if he has serious contaminations.
Does this encourage one to act whimsically? One should not misunderstand that a devotee can act in all kinds of abominable ways and still considered saintly. This applies only to an accident due to the strong power of material connections. One who commits sin deliberately is committing the seventh offense against chanting the holy name of Kṛṣṇa. What is described here is only the glory of bhakti and Kṛṣṇa’s partiality toward His unalloyed devotees. And a true devotee knows that he will be punished by the all merciful, partial Lord, for all his wrong doings.