The compartmentalization allow the cell to prevent translation of unspliced mRNA . Eukaryotic mRNA contain introns that must be removed before being translated to produce functional proteins . The splicing is done inside the nucleus before the mRNA can be accessed by ribosomes for translation . Without the nucleus , ribosomes would translate newly transcribed ( unprocessed ) mRNA , resulting in malformed and nonfunctional proteins .