False statement in affidavit amounts to a contempt of court besides being a Perjury
However, perjury carries a more severe punishment than the offence of contempt of court. Moreover, contempt of court is considered to be in the discretion of the court and the court may even accept an apology and not take any action against the contemnor.