> What's preventing the referendum from being declared stupid and that the UK gov't is not going to do it?
Nothing except politics. The referendum is advisory and not legally binding. The Leave campaign has been found guilty of criminal offences. But actually, the referendum result is the closest thing May has to a mandate, her party won a minority in the parliamentary elections.