Difficult, undesirable, or unpleasant; not to be envied.
Valjean was in the unenviable position of either living with the knowledge an innocent would suffer for his crime or revealing his true identity and going back to prison.