A man suspected of murdering his wife and two children in the UK has admitted unlawful possession of a firearm and ammunition.