BA Gold gets you BA lounge access, even when not flying OW, so you should have used the much nicer BA lounge rather than trying unsuccessfully to get into the IB lounge. But this is the con with codeshares (sell you a product different from what you think you are buying).