A person who wilfully makes a false oath or affirmation or who obtains or attempts to obtain a license by a fraudulent representation is guilty of a class B misdemeanor.