Court sides with federal government in dispute with Ottawa over payments in lieu of taxes