Whenever a vehicle is reasonably believed to have been used in connection with a criminal offense, and a peace officer has ordered the removal and impoundment of such vehicle, the custodian of said vehicle shall release it upon authorization of the removing agency or a court of competent jurisdiction.