When it purchased the shuttered St. Croix refinery at a bankruptcy auction in December 2021, Port Hamilton Refining and Transportation was fully aware that, under a federal consent decree governing the facility since 2011, it must install a flare gas recovery system before restarting operations, the EPA said in a court filing Friday.