Diageo has won a legal battle over spirits storage laws in the US state of Tennessee.