There will always be repercussions. Sweden have been doing public voting for decades by forcing you to pick the ballot out in the open, before going into a booth and putting the public ballot into an envelope. Your family, friends and the whole neighborhood will know whomever voted for the wrong party and will treat you thereafter.
EU and election authorities have demanded change to make it private but the previously ruling party didn't want to. Now we got a new government a few months ago and this was one of their first tasks, so it might be changed in time for the election in 2026.