This building must be a school in the city.
この建物はその都市の学校に違いない。
↓
This building must have been a school in the city.
この建物はその都市の学校だったに違いない。
She must be a secretary in the office.
彼女はその事務所の秘書に違いない。
↓
She must have been a secretary in the office.
彼女はその事務所の秘書だったに違いない。
He must know the truth.
彼は真実を知っているに違いない。
↓
He must have known the truth.
彼は真実を知っていたに違いない。
That must be an illusion.
あれは幻想に違いない。
↓
That must have been an illusion.
あれは幻想だったに違いない。
※ illusion (名)錯覚、幻想