A decision to stop Asda turning a well-known real-ale pub into a supermarket has been overturned, despite 400 objections.