No, you are asked to provide booking class/not service class/cabin
.
Somehow I doubt you were rebooked into Y class. You need to check the email confirmation or e-ticket receipt that you probably received after the rebooking, for the booking class that you were rebooked into.