Spain's interior ministry apologised to journalists and denied muzzling the media on Tuesday after a report revealed it had secretly compiled a list of reporters and their political opinions.