Land in 2E Air France CDG. You want to use the AF lounge in 2E

I arrive at AF terminal 2E from Paris from the SFO and connects me to a flight to Spain on the terminal AF 2F. Can I use salon 2E after landing or do I have to clear customs and upgrade to 2F? I fly in business class