the disqualification in question therefore is grossly violative of the equal protection clause which mandates that all persons subjected to legislation shall be treated alike , under like circumstances and conditions , both in the privileges conferred and in the liabilities imposed .