French dairy giant Danone has said that it will take Irish dairy producer Glanbia to court over an alleged trademark infringement.