Sentence 1: He also had to temporarily occupy the Ministry of the Interior in the presidential cabinet over 1838 .
Sentence 2: Also in the presidential cabinet he had to occupy twice the Ministry of Interior temporarily over 1838 .
Question: Do Sentence 1 and Sentence 2 express the same meaning? Yes or No?