The battle over the Aberdeen bus gates could come to a head in the Court of Session in Edinburgh.