whoever does so shall be punished in accordance with the law