A full characterization of continuous representability of interval orders