Yes, they are different phases of the same thing, but suppose a scenario where the ice must remain solid and water must stay in it's the liquid form.
This is more of a philosophical question than a practical one, but suppose 2 scientists. one from the liquid planet and another from solid planet, where the rules of a game allows them to try anything as long as they do not change the states of the water and ice ( no gas form either ) to somehow agree that they are working with the same stuff.
In other words how can we establish that ice and water are one and the same thing without state transition?