The required sacrifice fulfilled the penalty (see study note on Leviticus 4:1–5:13).
The actions described in Leviticus 5:1–5 seem to apply to orindary people, not priests. For this reason, the law allowed the use of a female animal for the offering, following the same principle shown in 4:28, 32.