Being forced to move barrack rooms

Currently on TDY, btw. Got a call from barracks manager saying he getting a detail to move all my stuff from my room to another . Reason being is that I live on the first floor and they are having the first floor female only. Is this acceptable ? Been living in my room for 2 years now btw