Port Hamilton Refining and Transportation must obtain a new comprehensive Clean Air Act permit before it can restart the St. Croix refinery — a process that could take up to three years and cost hundreds of millions of dollars — the Environmental Protection Agency announced Thursday.