expedient

noun

1.
a means to an end; not necessarily a principled or ethical one