why was the treaty of prague signed class 10