Someone has used a wrong cable or not marked a switchwire with a brown wire. One pair of wires goes to the switch and should have 2 brown cores and an earth. Alternatively, a brown/blue pair could be used with a brown sleeve/marker on the blue to indicate switchwire. If you cannot identify this yourself, best call a professional. Moral of the story - mark/identify the connections before you disconnect the old light.
AndyJ, September 2009