Drina Gray “engaged in a campaign of harassment” against a couple in the flat above hers, a court hears.