This function is not intended to be called by regular users. Even more, you should never give ADMIN privileges to users, especially in H2 where users with such privileges have access to the server and may interact with operating system. H2 is not a secure container.
DBAs should see what they're doing.
Anyway, decision to use or not to use result of any function is under responsibility of its caller. Your suggestion looks like some dirty workaround over your own problem, such workarounds will not be included into H2.