The cancellation by the Trump administration of USD 7.56 billion (EUR 6.49bn) of federal funding for energy projects was unlawful, according to a determination by a US federal court.