Local and renormalizable action from the gribov horizon