Hi
Please note, X an Y capacitors are NOT interchangeable.
X capacitors should ONLY be used phase to neutral or phase to phase, NEVER to Earth / Ground / or whatever it is called where you are.
Y capacitors can be used phase or neutral to Earth / Ground / or whatever it is called where you are.
The reason for this is one of safety, Y capacitors MUST fail open circuit to avoid any possibility of making the equipment case live following a failure, whereas X capacitors need not fail open.
G Edmonds