In Sweden they are removed from the public records (belastningsregistret) based on various criteria. A completed prison sentence would normally be removed 10 years after the sentence has been completed.
Sources (in Swedish):
https://lagen.nu/1998:620#P17
https://polisen.se/tjanster-tillstand/belastningsregistret/g...