Spoilt beer and what to do about it

Many pubs may have beer sitting around that has gone off now due to the Coronavirus lock-in or is now too old to sell. There is a way of disposing of it without upsetting the water authorities and also allowing breweries to claim tax back.