If a person sits or votes as a member of the Legislative Assembly before he has complied with the requirements of section 24 or when he knows that he is not qualified or that he is disqualified for membership thereof, or that he is prohibited from doing so by the provisions of any law made by Parliament or the Legislative Assembly of the Union territory of Jammu and Kashmir, he shall be liable in respect of each day on which he so sits or votes to a penalty of five hundred rupees to be recovered as a debt due to the said Union territory.