Court acquits man of rape charges