In the following sentence:
据上海迪士尼乐园度假区方面消息,从2017年11月15日起,上海迪士尼乐园对游客须知进行调整,禁止游客携带食品和酒精饮料入园,非酒精饮料容量不得超过600毫升。而在此前,迪士尼乐园允许未拆封的食品入园。
I understand the meaning of 此前, which means "before this" or "until this".
However, what is the meaning of 而在此前, specifically 而在? I feel that 而在 were to be omitted, the sentence would make sense.
So is the 而在 needed here? And if so, what is the meaning and how does it function grammartically in the sentence?