Let $N$ be the greatest integer multiple of $8$, no two of whose digits are the same. What is the remainder when $N$ is divided by $1000$?

Let's think step by step and output the final answer within \boxed{}.
user