Police officer forced to apologise to Neil Brooks in court