When do you not want to use rim lighting?

I'm watching a series on lighting for begginers, and apparenteley there is certain times when you don't want to use rim lighting as it can make things appear more realistic and make suit it better. Can anyone tell me when you'd even want this?