A Co Tyrone-based energy company was unlawfully “shut out” from a multi-million pound bidding process for the supply of electricity across Ireland, the High Court has heard.