Turkish president says holding election is obligatory