The referendum held on Sunday in Crimea on whether the peninsula should secede to Russia contravenes the Ukrainian constitution, Hungary's foreign ministry said in a statement on Sunday, adding that the results were therefore "illegitimate and unlawful".