expedient

adjective
  1. suitable for achieving a particular end in a given circumstance; practical rather than morally right
noun
  1. a means of attaining an end, especially one that is convenient but considered improper or immoral

Examples