Distilled spirits may be withdrawn free of tax from customs custody by the United States or any governmental agency thereof for its own use for nonbeverage purposes, under such regulations as may be prescribed by the Secretary.