There are very specific laws applied to the game but none of them cover a change of bat (at least not in my country). Anything that isn't specifically ruled on becomes an "umpire's decision". Therefore the umpire can make a decision on this at any time.