Re-election referendum entirely unconstitutional: Court