Compressed nuclei in a schematic relativistic mean-field description