For celebrating sacrifices many improper deeds are done. Therefore a king commits no sin by doing improper acts (when he seeks to fill his treasury in a time of distress).
अकार्यमपि यज्ञार्थं क्रियते यज्ञकर्मसु। एतस्मात् कारणाद् राजा न दोषं प्राप्तुमर्हति॥