The plans were approved despite worries that a potential hydrogen explosion risk on the site could pose harm to residents nearby.