Sentence 1: Had the Immigration Officer known on arrival that asylum was intended , then he would not have granted entry as a visitor .
Sentence 2: If the immigration official had known that asylum was intended on arrival , he would not have granted entry as a visitor .
Question: Do Sentence 1 and Sentence 2 express the same meaning? Yes or No?