I've been asked (told/commanded) by my research supervisor to write a recommendation for something that I couldn't honestly recommend under any circumstances. In fact, I'd go so far as to actively discourage people from it if I could. Normally I'd say "caveat emptor" but I'm not convinced it is ethical to do so in this case. If I don't write the recommendation I have reason to believe that my unrelated thesis (due in eight weeks) might suddenly become significantly harder to get accepted, if you get my drift. Any advice? Can anyone think of a graceful way to get out of it?