Both.
It should say on LORE whether the limitation is on the race as a whole, or just on the submission.
My understanding (please someone correct me if I'm wrong), for instance, is that a giant can be submitted as TN, could with a few cdqs change to NG although one can't be submitted as NG), but could never shift to LN, because half-giants must be non-lawful.
And, well, doesn't it kind of defeat the purpose of playing the race if you shift it to something that race isn't?