It's bad when Les gets shifted out of town (7)
I believe the answer is:
seville
'town' is the definition.
The answer and definition can be both locations as well as being singular nouns.
Maybe you can see an association between them that I don't see?
'it's bad when les gets shifted out' is the wordplay.
'it's bad when' becomes 'evil' (I am not sure about this - if you are sure you should believe this answer much more).
'gets shifted' indicates anagramming the letters.
'out' means one lot of letters goes inside another.
'les' anagrammed gives 'sle'.
'evil' inserted into 'sle' is 'SEVILLE'.
'of' is the link.
Can you help me to learn more?
(Other definitions for seville that I've seen before include "Spanish tourist centre" , "city taken by Moors" , "Whence Rossini's barber" , "Spanish port" , "Capital of Andalusia" .)