Yes it would be legal, so you have no options. If you want to double check contact the IRS.