A football ref has denied being drunk after being removed from a match at halftime after showing a yellow card to a goalkeeper half the pitch away.