Beijing dismisses criticism of controversial project, while Hungarian PM’s office hints at referendum on the issue.