The employer can pretty much do what ever they want! It's your choice if you want to remain working there. If you don't take the pay cut and go elsewhere to work, then someone will accept the job for the amount of pay they are offering. If you are a good employee, know your job well and they value you as an employee then they should make this job change a lateral move and shouldn't cut your pay.

