Look at the sticky for known issues, this is what it says;
- If a player removes the "Battlefield 6 Marker "from their installed DLC on Steam, it will result in them being unable to play Battlefield 6 and will be presented with an "account restricted" message. Reinstalling this marker will allow you to connect and play once more.