The Edinburgh Court of Sessions heard today that "substantive error of law" was made in the authorisation of new oil and gas fields in Scottish waters.