The man will undergo a psychiatric evaluation after he pleaded guilty to stowing the corpse of his former girlfriend in an airing cupboard for 15 months.